-
-
Notifications
You must be signed in to change notification settings - Fork 521
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: generate relation for related entity of composite foreign key #1693
Conversation
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.
tldr; LGTM
Hello, good people of SeaORM! Is it possible to merge this PR? If not, I'd be happy to contribute to close #1690 , if you would kindly point me in the right direction to make further changes/resolve hiccups encountered in this PR. Thanks! |
@@ -139,12 +160,18 @@ impl Relation { | |||
} | |||
} | |||
|
|||
pub fn get_column_camel_case(&self) -> Ident { | |||
format_ident!("{}", self.columns[0].to_upper_camel_case()) | |||
pub fn get_column_camel_case(&self) -> Vec<Ident> { |
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.
Ident -> Vec<Ident>
Thanks everyone |
🎉 Released In 0.12.3 🎉Thank you everyone for the contribution! |
PR Info
Bug Fixes