Skip to content

Implement the Validation section of the spec#88

Merged
wravery merged 44 commits intomicrosoft:masterfrom
wravery:master
Mar 8, 2020
Merged

Implement the Validation section of the spec#88
wravery merged 44 commits intomicrosoft:masterfrom
wravery:master

Conversation

@wravery
Copy link
Copy Markdown
Contributor

@wravery wravery commented Mar 8, 2020

This is a comprehensive fix for #69. Per the spec, the service ought to validate every query before execution to make sure the results are not ambiguous.

There may still be runtime field errors that this doesn't catch, and since the last time I looked at that section of the spec there also seems to be a lot more guidance about how to format the errors. I added locations to all of the errors I could, and a path to the runtime field errors.

In the process of building the validation feature with TDD based on the Examples and Counter Examples in the spec, I found a few bugs in SchemaGenerator, as well and fixed those. The validation relies on Introspection and helped flush those out.

wravery and others added 30 commits February 15, 2020 13:59
@wravery wravery merged commit 3ca273a into microsoft:master Mar 8, 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