What's the best way to access Enum schema members? #970
Unanswered
EmilyGraceSeville7cf
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I wanna write unit tests for my code and check whether all enum values (from
data
) are correctly processed (without exceptions). What's the best way to get all enum values? Is my solution pretty fine, or there is something better?In the real world example it's needed in this project where TypeBox enum schema is here.
Beta Was this translation helpful? Give feedback.
All reactions