the trait From<Vec<std::string::String>> is not implemented for sea_orm::Value
#1596
Unanswered
road2react
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Hey @road2react, welcome to SeaQL. A sanity check: you need to enable |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@billy1624 I try to use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
the trait
From<Vec<std::string::String>>is not implemented forsea_orm::ValueSteps to Reproduce
sea-orm-cli generate entityExpected Behavior
The generated entity files should work.
Actual Behavior
The generated struct looks like this (with
--expanded-format):However, this leads to a compile error:
Reproduces How Often
Always happens
Workarounds
The generated type could be changed, but it would no longer exactly match the database.
Versions
sea-orm-cli 0.11.1sea-orm 0.11.1Beta Was this translation helpful? Give feedback.
All reactions