Skip to content

Support unused types for all dictionary types #736

Open
@timward60

Description

@timward60

I want to suggest an idea and checked that ...

  • ... to my best knowledge, my idea wouldn't break something for other users
  • ... the documentation does not mention anything about my idea
  • ... there are no open or closed issues that are related to my idea

Description

Allow unused types for all dictionary types, rather than restricting to just ObjectTypeDefinitions. This allows unused enums, interfaces, unions, etc.

Use Cases

We use a combination of missing field resolver, and unused types to allow preview fields in our schema. E.g. schema without resolver implementations. We achieve this with a mixture of using the missing field resolver option, and generating empty types to be registered by SchemaParser.dictionary(...).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions