sea-orm-cli
overwrites code when re-generating entity files.
#2142
Unanswered
aspiringLich
asked this question in
Q&A
Replies: 1 comment
-
I certainly understand overwriting being an expected behavior (for instance, it lets you do a diff against the checked-in version), but it would be helpful if there was a flag you could specify, say in the generated file you have edited, that tells |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After writing a relation for one of the generated entities:
When i run
sea-orm-cli generate entity
again, it overwrites theRelation
andRelated
definition. Since the documentation directs you write these by hand, why are they overwritten every time? I'm almost certainly missing something, or going about this wrong, so any help would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions