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 great if this were supported out of the box. I can see that in a few places arrays of Strings have been special cased - include @Enum, but there's no support for other implicitly Codable types like Int and friends.
The text was updated successfully, but these errors were encountered:
I'm currently using a simple Set of enumerations to represent the role of a user in a certain context within my model, ie:
I would love to be able to declare the following:
And have it be queryable, and saved to the database with a column type of
smallint[]
.Right now, I have to resort to workarounds like:
Which makes my Fluent queries end up looking like:
It's not ideal.
It would be great if this were supported out of the box. I can see that in a few places arrays of Strings have been special cased - include
@Enum
, but there's no support for other implicitly Codable types likeInt
and friends.The text was updated successfully, but these errors were encountered: