Interface: PruneSchemaOptions
Defined in: packages/utils/src/types.ts:38
Options for removing unused types from the schema
Properties
skipEmptyCompositeTypePruning?
optionalskipEmptyCompositeTypePruning?:boolean
Defined in: packages/utils/src/types.ts:48
Set to true to skip pruning object types or interfaces with no no fields
skipEmptyUnionPruning?
optionalskipEmptyUnionPruning?:boolean
Defined in: packages/utils/src/types.ts:57
Set to true to skip pruning empty unions
skipPruning?
optionalskipPruning?:PruneSchemaFilter
Defined in: packages/utils/src/types.ts:43
Return true to skip pruning this type. This check will run first before any other options. This can be helpful for schemas that support type extensions like Apollo Federation.
skipUnimplementedInterfacesPruning?
optionalskipUnimplementedInterfacesPruning?:boolean
Defined in: packages/utils/src/types.ts:53
Set to true to skip pruning interfaces that are not implemented by any
other types
skipUnusedTypesPruning?
optionalskipUnusedTypesPruning?:boolean
Defined in: packages/utils/src/types.ts:61
Set to true to skip pruning unused types