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

Improve the Compilation Error Message for Using Anonymous Records #3173

Closed
ThisaruGuruge opened this issue Jul 28, 2022 · 0 comments · Fixed by ballerina-platform/module-ballerina-graphql#840
Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Points/1 Team/PCM Protocol connector packages related issues Type/Improvement

Comments

@ThisaruGuruge
Copy link
Member

Description:
Currently, when an anonymous record is used as a GraphQL type, the error message only shows the record signature with the location of the resolver it is being used. This can be hard to find. Therefore, the error should show the field name from the top to better understand the error location.

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/1 Team/PCM Protocol connector packages related issues Type/Improvement
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant