Support additional derives for Enums #1921
FlyinPancake
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
I use utoipa which needs all types in it to implement
ToSchema
however adding the flag--model-extra-derives=ToSchema
tosea generate
does not addToSchema
to the Enms insea_orm_active_enums.rs
.Solution
--enum-extra-derives
--model-extra-derives
to enums as well (not preferred)Beta Was this translation helpful? Give feedback.
All reactions