Skip to content

Conversation

robmyersrobmyers
Copy link
Contributor

@robmyersrobmyers robmyersrobmyers commented Apr 24, 2025

Updates gqlparser to update the error string to output the column numbers (in addition to the line numbers).

This PR is for @StevenACoffman to demonstrate the impact of adding column numbers to the errors in gqlparser. I had to update 3 test cases accordingly.

Related gqlparser ticket.

I have:

  • Added tests covering the bug / feature (see testing)
  • Updated any relevant documentation (see docs)

@coveralls
Copy link

coveralls commented Apr 24, 2025

Coverage Status

coverage: 73.031% (+0.01%) from 73.021%
when pulling 5eb09ec on robmyersrobmyers:gqlparser_add_error_column
into 4d37d2d on 99designs:master.

@StevenACoffman
Copy link
Collaborator

I released a new gqlparser version v2.5.26 that includes your changes.

Signed-off-by: Steve Coffman <steve@khanacademy.org>
@StevenACoffman StevenACoffman changed the title Draft: Gqlparser add error column Gqlparser add error column to string ouput Apr 24, 2025
@StevenACoffman StevenACoffman changed the title Gqlparser add error column to string ouput Update gqlparser to add column for error string output Apr 24, 2025
@StevenACoffman StevenACoffman merged commit e097cdc into 99designs:master Apr 24, 2025
18 checks passed
@robmyersrobmyers robmyersrobmyers deleted the gqlparser_add_error_column branch May 6, 2025 08:56
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.

3 participants