Skip to content

Interface implements interface #801

Answered by Angusross111
Angusross111 asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like I wasnt implementing the spec correctly. Adding both interfaces to the type seems to have solved it:

type Order implements SearchResult & IdResult {
    ref: String!
    client: Client!
    summary: String!
    url: String!
    id: String!
}

type Product implements SearchResult & IdResult {
    name: String!
    sku: String!
    summary: String!
    url: String!
    id: String!
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Angusross111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant