@graphql-tools/relay-operation-optimizer
Type Aliases
Functions
Type Aliases
OptimizeDocumentsOptions
Ƭ OptimizeDocumentsOptions: SchemaPrintOptions
& ParseOptions
& { includeFragments?
: boolean
}
Defined in
packages/relay-operation-optimizer/src/index.ts:19
Functions
optimizeDocuments
▸ optimizeDocuments(schema
, documents
, options?
): DocumentNode
[]
Parameters
Name | Type |
---|---|
schema | GraphQLSchema |
documents | DocumentNode [] |
options | OptimizeDocumentsOptions |
Returns
DocumentNode
[]