Using Enum Array on Model #1426
Answered
by
Romakita
progressivetr
asked this question in
Q&A
-
Hello. Which decoration should I use for defining enum array in json model? |
Beta Was this translation helpful? Give feedback.
Answered by
Romakita
Jun 5, 2021
Replies: 1 comment 4 replies
-
Just @enum() class MyModel {
@Enum(MyEnum)
enums: MyEnum[];
} See you |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Romakita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just @enum()
See you
Romain