You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using sea-orm-cli generate entity --with-serde both -o entity/src to build my entities and my custom type entity does not derive
Serialize/Deserialize, preventing my other entity relying on it to build.
Steps to Reproduce
Create an enum type in Postegresql
Use this enum type in some other
Generate your entity with sea-orm-cli generate entity --with-serde both -o entity/src
Description
Using a Postgresql database, I have a custom type
I'm using
sea-orm-cli generate entity --with-serde both -o entity/src
to build my entities and my custom type entity does not deriveSerialize/Deserialize, preventing my other entity relying on it to build.
Steps to Reproduce
sea-orm-cli generate entity --with-serde both -o entity/src
Expected Behavior
Here is the entity
sea-orm-cli
should build:Actual Behavior
Here is what is generated
Reproduces How Often
Always
Versions
sea-orm-cli 0.6.0
rustc 1.59.0 (9d1b2106e 2022-02-23)
The text was updated successfully, but these errors were encountered: