Interface: SnapshotTransformConfig
types/src.YamlConfig.SnapshotTransformConfig
Configuration for Snapshot extension
Table of contents
Properties
Properties
apply
• apply: string
[]
Resolver to be applied For example; apply:
- Query.* <- * will apply this extension to all fields of Query type
- Mutation.someMutationButProbablyYouWontNeedIt
Defined in
packages/types/src/config.ts:1619
if
• Optional
if: string
| boolean
Expression for when to activate this extension. Value can be a valid JS expression string or a boolean (Any of: String, Boolean)
Defined in
packages/types/src/config.ts:1611
outputDir
• outputDir: string
Path to the directory of the generated snapshot files
Defined in
packages/types/src/config.ts:1623
respectSelectionSet
• Optional
respectSelectionSet: boolean
Take snapshots by respecting the requested selection set. This might be needed for the handlers like Postgraphile or OData that rely on the incoming GraphQL operation.
Defined in
packages/types/src/config.ts:1628