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

Allow enum casting in GraphQL query. #101

Merged
merged 1 commit into from
Apr 14, 2024
Merged

Allow enum casting in GraphQL query. #101

merged 1 commit into from
Apr 14, 2024

Conversation

byme8
Copy link
Owner

@byme8 byme8 commented Apr 14, 2024

At the moment, ZeroQL will report the error once you try to cast the enum. It is a trivial thing to do and this use case should be supported.

This PR allows to cast enums inside the GraphQL.

Fixes #99

@byme8 byme8 merged commit 3b8ce34 into main Apr 14, 2024
@byme8 byme8 deleted the feature/enum-cast branch April 16, 2024 18:55
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

Successfully merging this pull request may close these issues.

Can not map enums when using GraphQLFragment, no errors when building query
1 participant