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

GraphQL Record Fields Allow Invalid Types #1953

Closed
ThisaruGuruge opened this issue Sep 23, 2021 · 0 comments · Fixed by ballerina-platform/module-ballerina-graphql#417
Closed
Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Points/0.25 Priority/High Team/PCM Protocol connector packages related issues Type/Bug

Comments

@ThisaruGuruge
Copy link
Member

ThisaruGuruge commented Sep 23, 2021

Description:
Although a GraphQL field cannot have error? as the type, when a GraphQL resource returns a record type, the record can have fields with error? as the field type. This should be fixed from the compiler plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/graphql Issues related to Ballerina GraphQL module Points/0.25 Priority/High Team/PCM Protocol connector packages related issues Type/Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant