Skip to content

Using Enum Array on Model #1426

Answered by Romakita
progressivetr asked this question in Q&A
Discussion options

You must be logged in to vote

Just @enum()

class MyModel {
   @Enum(MyEnum)
   enums: MyEnum[];
}

See you
Romain

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Romakita
Comment options

@progressivetr
Comment options

@progressivetr
Comment options

@Romakita
Comment options

Answer selected by Romakita
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants