Docs
API
Interfaces
MergedTypeConfig

Interface: MergedTypeConfig

types/src.YamlConfig.MergedTypeConfig

Table of contents

Properties

Properties

canonical

Optional canonical: boolean

Specifies types and fields that provide a canonical definition to be built into the gateway schema. Useful for selecting preferred characteristics among types and fields that overlap across subschemas. Root fields marked as canonical specify which subschema the field proxies for new queries entering the graph.

Defined in

packages/types/src/config.ts:1659


fields

Optional fields: MergedTypeField[]

Defined in

packages/types/src/config.ts:1660


key

Optional key: KeyAnnotation

Defined in

packages/types/src/config.ts:1654


typeName

Optional typeName: string

Name of the type (Query by default)

Defined in

packages/types/src/config.ts:1653