apollo-hooks-codegen
apollo-hooks-codegen copied to clipboard
Support for interfaces
👋
I'm trying to use [email protected] with GraphQL interfaces, is this supported? At the moment I'm getting an error about unhandled GraphQLOutputType in unwrap with the following schema:
interface Document {
id: ID!
permalink: String!
}
type Verdict implements Document @hasScope(scope: ["read:verdict"]) {
id: ID!
permalink: String!
}
Logging the type shows it's complaining about Document.