Replies: 3 comments
-
Hey @VaZark, see https://www.sea-ql.org/SeaORM/docs/advanced-query/custom-active-model |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks! That was exactly what I needed. The custom active model seems like the closest thing to a Do you reckon that each Model can have a |
Beta Was this translation helpful? Give feedback.
0 replies
-
The concept of InputModel has been discussed in #101 |
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
-
The following code fails when used as the
id
field is not part of theInputTask
.Is there a way to useDefault::default()
for an entity model whentransforming
from another Struct defined for input type. I'm trying to create a generic From so that I can reuse the idea with different modelsBasically I want to avoid doing the below transformation as a part of the application logic
Beta Was this translation helpful? Give feedback.
All reactions