graphql-tools-monorepo / utils/src / GraphQLParseOptions
Interface: GraphQLParseOptions
utils/src.GraphQLParseOptions
Hierarchy
-
GraphQLParseOptions
Table of contents
Properties
- allowLegacySDLEmptyFields
- allowLegacySDLImplementsInterfaces
- commentDescriptions
- experimentalFragmentVariables
- noLocation
Properties
allowLegacySDLEmptyFields
• Optional
allowLegacySDLEmptyFields: boolean
Defined in
packages/utils/src/Interfaces.ts:100
allowLegacySDLImplementsInterfaces
• Optional
allowLegacySDLImplementsInterfaces: boolean
Defined in
packages/utils/src/Interfaces.ts:101
commentDescriptions
• Optional
commentDescriptions: boolean
Set to true
in order to convert all GraphQL comments (marked with # sign) to descriptions (""")
GraphQL has built-in support for transforming descriptions to comments (with print
), but not while
parsing. Turning the flag on will support the other way as well (parse
)
Defined in
packages/utils/src/Interfaces.ts:108
experimentalFragmentVariables
• Optional
experimentalFragmentVariables: boolean
Defined in
packages/utils/src/Interfaces.ts:102
noLocation
• Optional
noLocation: boolean