-
-
Notifications
You must be signed in to change notification settings - Fork 615
Allow DerivePartialModel to have nested aliases #2686
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
Conversation
…e same model in the model.
…e same model in the model #2639
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve. @Huliiiiii thanks a lot!
* feta: Allow DerivePartialModel to add nested aliases and associate the same model in the model. * fix left behind trailing whitespace. * Add partial_model_nested_alias test case. * Fmt * Use fully qualified syntax on into_expr * Fix * Fix the order of creating tables * Clean up * Refactor * Remove unnecessary code * Merge .rustfmt.toml and rustfmt.toml * rename --------- Co-authored-by: silence <silence.zpk@gmail.com> Co-authored-by: Huliiiii <134658521+Huliiiiii@users.noreply.github.com>
🎉 Released In 1.1.15 🎉Thank you everyone for the contribution! |
The current solution attaches the alias definition to the nested model, which is not very flexible.
Defining it in the parent model is the better way.
We only need to fix / rewrite the test cases