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

types/src.YamlConfig.EncapsulateTransformObject

Transformer to apply encapsulation to the API source, by creating a field for it under the root query

Table of contents#

Properties#

Properties#

applyTo#

Optional applyTo: EncapsulateTransformApplyTo

Defined in#

packages/types/src/config.ts:987


name#

Optional name: string

Optional, name to use for grouping under the root types. If not specific, the API name is used.

Defined in#

packages/types/src/config.ts:986