The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

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:1302


fields#

Optional fields: MergedTypeField[]

Defined in#

packages/types/src/config.ts:1303


key#

Optional key: KeyAnnotation

Defined in#

packages/types/src/config.ts:1297


typeName#

Optional typeName: string

Name of the type (Query by default)

Defined in#

packages/types/src/config.ts:1296