Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define the role table as enum in Hasura #946

Closed
yannickglt opened this issue Sep 21, 2022 · 1 comment
Closed

Define the role table as enum in Hasura #946

yannickglt opened this issue Sep 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@yannickglt
Copy link

Having roles as enum allows to generate TypeScript enum when code is generated with graphql-codegen.

@elitan
Copy link
Contributor

elitan commented Nov 22, 2022

We had a similar request here: nhost/hasura-storage#136 (comment)

But given that this requires the metadata to be reloaded for enums to be updated, we don't think it's a good idea to have roles to be enums.

@elitan elitan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants