utils_src.printschemawithdirectivesoptions

Interface: PrintSchemaWithDirectivesOptions#

utils/src.PrintSchemaWithDirectivesOptions

Hierarchy#

Table of contents#

Properties#

Properties#

commentDescriptions#

Optional commentDescriptions: boolean

Descriptions are defined as preceding string literals, however an older experimental version of the SDL supported preceding comments as descriptions. Set to true to enable this deprecated behavior. This option is provided to ease adoption and will be removed in v16.

Default: false

Inherited from: SchemaPrintOptions.commentDescriptions

Defined in: packages/utils/src/types.ts:12


pathToDirectivesInExtensions#

Optional pathToDirectivesInExtensions: string[]

Defined in: packages/utils/src/types.ts:16