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
So, there doesn't appear to be a way to access the values of the enum. Which means if I want to use the enum values in my node.js app, I can't really do it -- am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered:
In this Node.js implementation, enum values are represented by their string names, e.g. "foo" or "bar". So, there's no need to reference any global constants.
Hi --
Given the following enum in my schema:
How do I access the corresponding numerical (or string) values for MyEnum? When I do the following:
I see output that looks like:
So, there doesn't appear to be a way to access the values of the enum. Which means if I want to use the enum values in my node.js app, I can't really do it -- am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered: