Skip to content

Types implementing interfaces removed from transformed schema #7

Open
@shipiak

Description

@shipiak

Hi!

consider following schema:

type BoxImage implements ContentBox {
   id: String
   image: String
}

interface ContentBox{
  id: String
}

type Query {
  contentBoxById(id: String): ContentBox
}

Type BoxImage is valid return type for contentBoxById but it is removed from transformed schema:

transformSchema(remoteSchema, {
  Query: {
    '*': false,
     contentBoxById: true
  }
}

Many thanks and keep it up! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions