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 would be nice to be able to remove the boilerplate.
Animal.request().all().where(\.type ==.duck)
To do so, maybe the Predicate struct should hold another generic DatabaseModel type since the mapping from a raw value to a enum is known in the model.
The text was updated successfully, but these errors were encountered:
It is possible currently to fetch on an attribute with is destined to be converted an an enum value:
It would be nice to be able to remove the boilerplate.
To do so, maybe the
Predicate
struct should hold another genericDatabaseModel
type since the mapping from a raw value to a enum is known in the model.The text was updated successfully, but these errors were encountered: