Skip to content

Support for interfaces #4

@denkristoffer

Description

@denkristoffer

👋

I'm trying to use apollo-hooks-codegen@1.2.0 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions