Skip to content

Miscellaneous cleanup getting ready for 3.4.0 release #144

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

Merged
merged 8 commits into from
Dec 31, 2020

Conversation

wravery
Copy link
Contributor

@wravery wravery commented Dec 31, 2020

Some of the docs got a little out of date since 3.0.0, and in a couple of cases while updating them I noticed typos or other spots where it no longer behaved the way I expected. In particular, the parsing fallbacks for mixed documents were inconsistent and didn't recognize everything they should.

I also decided to add some parameter validation to Request::deliver after writing in the docs that it would throw an exception if you didn't pass a subscriptionObject as either the default or as an override to deliver. It probably would have thrown an exception in either of those cases, but it might have also just run off the end of a vector iterator or dereferenced nullptr, neither of which would have been particularly easy to diagnose. This way seems a little friendlier to me.

The last change worth mentioning was updating all of the https://facebook.github.io/graphql/June2018/ references in code or documentation to point to their new home at http://spec.graphql.org/June2018/.

@wravery wravery merged commit 54baee1 into microsoft:master Dec 31, 2020
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.

1 participant