+
Skip to content

feat: implement a skip generate ActiveModelBehaviour #2487

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

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

TheSamsa
Copy link
Contributor

@TheSamsa TheSamsa commented Feb 3, 2025

sea-orm-cli generate has a new option where generation of ActiveModelBehaviour can be skipped to not overwrite custom logic

This is a duplicate of: #1947
I have only copied this work, to enable this feature. I merely copied it, since there was no progress since october 2024.

PR Info

  • Closes N/A

New Features

  • introduces a --gen-impl-active-model-behavior flag to disable generation

sea-orm-cli generate has a new option where generation of ActiveModelBehaviour can be skipped to not overwrite custom logic
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.

thank you

@tyt2y3
Copy link
Member

tyt2y3 commented Feb 22, 2025

I would remove the gen_ prefix though

@tyt2y3 tyt2y3 merged commit 586330e into SeaQL:master Feb 22, 2025
Copy link

🎉 Released In 1.1.6 🎉

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 ⭐.

hjarraya pushed a commit to sambaclab/sea-orm that referenced this pull request Apr 29, 2025
sea-orm-cli generate has a new option where generation of ActiveModelBehaviour can be skipped to not overwrite custom logic

Co-authored-by: Christoph Schmidler <c.schmidler@consolinno.de>
Co-authored-by: wayne warren <wayne.warren.s@gmail.com>
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.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载