-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Allow Defaulting string_value
For ActiveEnum Based On Renaming Rules On Variants
#2160
Comments
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 16, 2024
…ants Based On Renaming Rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 16, 2024
… Tests For DeriveActiveEnum rename rules SeaQL#2160
@tyt2y3 While I was working on this, it made sense to also have this for model structs, so i decided to add that in (will be pushing later today). Let me know if there are any arguments against that. |
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
8 tasks
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
…ants Based On Renaming Rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
… Tests For DeriveActiveEnum rename rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Mar 22, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 25, 2024
…ants Based On Renaming Rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 25, 2024
… Tests For DeriveActiveEnum rename rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 25, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 25, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 25, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 25, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
…ants Based On Renaming Rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
… Tests For DeriveActiveEnum rename rules SeaQL#2160
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/sea-orm
that referenced
this issue
Apr 26, 2024
anshap1719
added a commit
to anshap1719/seaql.github.io
that referenced
this issue
Apr 28, 2024
tyt2y3
pushed a commit
that referenced
this issue
May 28, 2024
* WIP: Add Basic Support For Providing String Value For ActiveEnum Variants Based On Renaming Rules #2160 * WIP: Use Existing Case Style Handlers For Enum Rename Rules, Add Unit Tests For DeriveActiveEnum rename rules #2160 * WIP: Improve Implementation Of Name Case Parameters In ActiveEnum Macros #2160 * WIP: Implement Case Styles Based Name Generation For Columns In A Model #2160 * Fix Formatting #2160 * Rename Column Name And Enum Variant Renaming Macro Attributes #2160 * Revert Adding `Rename` Attribute For Column Names #2160 * Revert Unintended Formatting Changes #2160 * Fix formatting --------- Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
tyt2y3
pushed a commit
to SeaQL/seaql.github.io
that referenced
this issue
Jun 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #2125
Originally posted by wyatt-herkamp March 1, 2024
Take the following enum. I think we should automatically use the Variant name if the string_value is not provided.
This would allow people to do
And get the same result. I would be happy to make a PR if the developers of the project is Ok with this feature.
The text was updated successfully, but these errors were encountered: