Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DerivePartialModel attr entity not support syn::Type token #2137

Merged
merged 3 commits into from
Mar 10, 2024

Conversation

Goodjooy
Copy link
Contributor

@Goodjooy Goodjooy commented Mar 3, 2024

PR Info

Bug Fixes

  • fix DerivePartialModel attr argument entity not accept syn::Type

Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thank you!

@tyt2y3 tyt2y3 merged commit a0a7e74 into SeaQL:master Mar 10, 2024
32 checks passed
tyt2y3 pushed a commit that referenced this pull request Mar 13, 2024
…2137)

* 🐛 fix macro attr `entity` only accept `Ident`

* 🎨 cargo fmt

* ✅ fix test
Copy link

🎉 Released In 0.12.15 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

1 similar comment
Copy link

🎉 Released In 0.12.15 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Apr 10, 2024
billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Apr 11, 2024
* Refreshed migration schema definition (SeaQL/sea-orm#2099)

* Reworked SQLite Type Mappings (SeaQL/sea-orm#2077)

* `DerivePartialModel` macro attribute `entity` supports `syn::Type` as well (SeaQL/sea-orm#2137)

* Added `RelationDef::from_alias()` (SeaQL/sea-orm#2146)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants