jaguar_orm
jaguar_orm copied to clipboard
Use `Duration` Type as field or how customize serialising
Hello Community,
i want to use jaguar_orm in flutter.
When i use the Duration
-Type i get an exception from in the generated *.jorm-File:
Field type not recognised: Duration!
When the Duration
-Type is not supported. How can i customize the serialisation?
Regards rubiktubik
@rubiktubik Duration
s will be supported in version 4.x.x
which is being worked on.
Thank you for the quick answer! Is there another way in the meantime?
Use ignore
to ignore duration field and add string getter and setter that will actually sets the duration field is one idea.