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

Make block strings parsing conform to GraphQL spec. #75

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

fpacanowski
Copy link
Contributor

Fixes #74.

This PR makes block string parsing conform to GraphQL spec. In particular the parser now strips leading and trailing empty lines from block string values. This implementation closely follows the reference JS implementation.

@LegNeato LegNeato merged commit f75d96f into graphql-rust:master Dec 6, 2023
1 check passed
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.

Block string parsing doesn't conform to GraphQL spec.
2 participants