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

Generate GraphQL Enum type #7

Closed
ybtam opened this issue May 12, 2024 · 3 comments
Closed

Generate GraphQL Enum type #7

ybtam opened this issue May 12, 2024 · 3 comments
Assignees

Comments

@ybtam
Copy link

ybtam commented May 12, 2024

Would it be possible to generate enum types from schema definitions?

pgEnum('type', ['date', 'email', 'url', 'number', 'text']);

into

enum type { date email url number text }

@Sukairo-02
Copy link
Collaborator

That should be possible, I'll look into it.

@Sukairo-02 Sukairo-02 self-assigned this May 12, 2024
@Sukairo-02
Copy link
Collaborator

Already implemented locally, expect an update very soon.

@Sukairo-02
Copy link
Collaborator

v0.4.0 - added enum support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants