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
How can I generate an output type using near-operation-file preset such that I can import the enum directly from the colocated file instead of from the base types file? Currently the output doesn't export the enum value. I would like to have something like:
exportenumColor{Red,Blue,}// or using string unionexporttypeColor="Red"|"Blue"// remaining code gen...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I have a schema like this:
How can I generate an output type using
near-operation-file
preset such that I can import the enum directly from the colocated file instead of from the base types file? Currently the output doesn't export the enum value. I would like to have something like:Is this possible using plugins today?
Beta Was this translation helpful? Give feedback.
All reactions