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
It's been unanswered for more than a year and it isn't really a discussion and more like a bug.
In my case I have a wrapper type (named Snowflake) around i64 rust type.
So for every trait that needs to be implemented I can just call the appropriate method on i64 but ActiveEnum is not implemented for it but I can still use it as a primary key?
Steps to Reproduce
Create a custom type and implement all necessary traits mentioned here
Use that type inside a sea-orm entity as a primary key
try cargo build
Expected Behavior
I dont need to implement ActiveEnum traits for non-enum types.
Actual Behavior
It requires me to do so.
Reproduces How Often
Everytime
Workarounds
Non / Custom types are unuseable here.
Reproducible Example
See discussion
Versions
1.1.2
The text was updated successfully, but these errors were encountered:
Description
See here: #1807
It's been unanswered for more than a year and it isn't really a discussion and more like a bug.
In my case I have a wrapper type (named
Snowflake
) around i64 rust type.So for every trait that needs to be implemented I can just call the appropriate method on i64 but
ActiveEnum
is not implemented for it but I can still use it as a primary key?Steps to Reproduce
cargo build
Expected Behavior
I dont need to implement ActiveEnum traits for non-enum types.
Actual Behavior
It requires me to do so.
Reproduces How Often
Everytime
Workarounds
Non / Custom types are unuseable here.
Reproducible Example
See discussion
Versions
1.1.2
The text was updated successfully, but these errors were encountered: