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
It would be nice if genql would generate a object alongside the type definition for enums. This would enable to iterate over enums to easily display them in the browser
Lets say I have a schema.graphql that looks something like this
...
enumUserRole {
Admin Trusted Untrusted User
}
...
Now genql would generate something like this for the enum in schema.ts:
It would be nice if genql would generate a
object
alongside thetype
definition for enums. This would enable to iterate over enums to easily display them in the browserinstead of what its currently doing:
Very minimal but I hope you get the point ^^
Maybe make this feature configurable so its disabled by default ?
Please tell me what you think :)
The text was updated successfully, but these errors were encountered: