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

Implement interface check against object #11

Open
stevan opened this issue Sep 16, 2018 · 0 comments
Open

Implement interface check against object #11

stevan opened this issue Sep 16, 2018 · 0 comments
Labels
low priority Something that we should do, but, well, ... you know missing spec Something in the spec we've not done yet
Milestone

Comments

@stevan
Copy link
Owner

stevan commented Sep 16, 2018

Object types that implement an Interface type need to be checked to ensure that they conform to the interface definition.

See the "Type Validation" section under "3.6 Objects" section in the spec https://facebook.github.io/graphql/June2018/#sec-Objects.

Also, I sketched out the algorithm here in the code: https://github.com/stevan/p5-Graph-QL/blob/master/lib/Graph/QL/Schema/Object.pm#L101-L111

@stevan stevan added the missing spec Something in the spec we've not done yet label Sep 16, 2018
@stevan stevan added this to the v0.1.0 milestone Oct 10, 2018
@stevan stevan added the low priority Something that we should do, but, well, ... you know label Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority Something that we should do, but, well, ... you know missing spec Something in the spec we've not done yet
Projects
None yet
Development

No branches or pull requests

1 participant