Interface implements interface #801
Answered
by
Angusross111
Angusross111
asked this question in
Q&A
-
Does ariadne support interfaces implementing interfaces? This was merged into the spec in 2020 graphql/graphql-spec#373 I have tried to implement the Interface example in the docs with a slight modification here https://gist.github.com/Angusross111/a7fd5dec3156ebb678c6b26423fcb97b Is this the correct way to create resolvers for it? and/or is it currently supported? |
Beta Was this translation helpful? Give feedback.
Answered by
Angusross111
Feb 22, 2022
Replies: 1 comment
-
Looks like I wasnt implementing the spec correctly. Adding both interfaces to the type seems to have solved it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Angusross111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like I wasnt implementing the spec correctly. Adding both interfaces to the type seems to have solved it: