.serve - ServeConfig
.serve.cors - CorsConfig
serve.cors.allowedHeaders allowedHeaders
serve.cors.exposedHeaders exposedHeaders
serve.handlers Express/Connect compatible handlers and middlewares extend GraphQL Mesh HTTP Server (Any of: WebhookHandler, ExpressHandler)
.serve.upload - UploadOptions
.serve.sslCredentials - HTTPSConfig
.sdk - SDKConfig
.sdk.generateOperations - GenerateOperationsConfig
sources Defines the list of your external data sources for your API mesh
transforms Transform to apply to the unified mesh schema
additionalResolvers Additional resolvers, or resolvers overrides you wish to add to the schema mesh (Any of: String, AdditionalStitchingResolverObject, AdditionalStitchingBatchResolverObject, AdditionalSubscriptionObject)
.cache - Cache
.cache.file - FileCacheConfig
.cache.inmemoryLRU - InMemoryLRUConfig
.cache.localforage - LocalforageConfig
cache.localforage.driver Allowed values: WEBSQL, INDEXEDDB, LOCALSTORAGE
.cache.redis - RedisConfig
liveQueryInvalidations Live Query Invalidations
documents Provide a query or queries for GraphQL Playground, validation and SDK Generation
The value can be the file path, glob expression for the file paths or the SDL.
(.js, .jsx, .graphql, .gql, .ts and .tsx files are supported.
But TypeScript support is only available if `ts-node` is installed and `ts-node/register` is added under `require` parameter)
.handler - Handler
.handler.graphql - GraphQLHandler
.handler.graphql.operationHeaders
.handler.grpc - GrpcHandler
.handler.grpc.credentialsSsl - GrpcCredentialsSsl
.handler.grpc.metaData
.handler.JsonSchema - JsonSchemaHandler
.handler.JsonSchema.operationHeaders
.handler.JsonSchema.schemaHeaders
handler.JsonSchema.operations Any of: JsonSchemaHTTPOperation, JsonSchemaPubSubOperation
.handler.mongoose - MongooseHandler
handler.mongoose.models models
handler.mongoose.discriminators discriminators
.handler.mysql - MySQLHandler
handler.mysql.tables Use specific tables for your schema
handler.mysql.tableFields Use specific fields of specific tables
.handler.neo4j - Neo4jHandler
.handler.odata - ODataHandler
.handler.odata.operationHeaders
.handler.odata.schemaHeaders
.handler.openapi - OpenapiHandler
.handler.openapi.operationHeaders
.handler.openapi.schemaHeaders
.handler.openapi.qs
handler.openapi.selectQueryOrMutationField Allows to explicitly override the default operation (Query or Mutation) for any OAS operation
.handler.postgraphile - PostGraphileHandler
handler.postgraphile.schemaName An array of strings which specifies the PostgreSQL schemas that PostGraphile will use to create a GraphQL schema. The default schema is the public schema.
handler.postgraphile.appendPlugins Extra Postgraphile Plugins to append
handler.postgraphile.skipPlugins Postgraphile Plugins to skip (e.g. "graphile-build#NodePlugin")
.handler.soap - SoapHandler
.handler.soap.basicAuth - SoapSecurityBasicAuthConfig
.handler.soap.securityCert - SoapSecurityCertificateConfig
.handler.soap.operationHeaders
.handler.thrift - ThriftHandler
.handler.thrift.operationHeaders
.handler.thrift.schemaHeaders
.handler.tuql - TuqlHandler
transforms List of transforms to apply to the current API source, before unifying it with the rest of the sources
.options - ComposeWithMongooseOpts
.options.fields - ComposeWithMongooseFieldsOpts
options.fields.remove remove
options.fields.required required
.options.inputType - ComposeMongooseInputType
.options.inputType.fields - ComposeWithMongooseFieldsOpts
options.inputType.fields.only only
options.inputType.fields.remove remove
options.inputType.fields.required required
.options.inputType.resolvers - TypeConverterResolversOpts
.options.resolvers - TypeConverterResolversOpts
.options - ComposeWithMongooseOpts
_handler_mongoose_discriminators
.options.fields - ComposeWithMongooseFieldsOpts
_handler_mongoose_discriminators
options.fields.remove remove
options.fields.required required
.options.inputType - ComposeMongooseInputType
_handler_mongoose_discriminators
.options.inputType.fields - ComposeWithMongooseFieldsOpts
_handler_mongoose_discriminators
options.inputType.fields.only only
options.inputType.fields.remove remove
options.inputType.fields.required required
.options.inputType.resolvers - TypeConverterResolversOpts
_handler_mongoose_discriminators
.options.resolvers - TypeConverterResolversOpts
_handler_mongoose_discriminators
cache Transformer to apply caching for your data sources
.encapsulate - EncapsulateTransformObject
.encapsulate.applyTo - EncapsulateTransformApplyTo
.extend - ExtendTransform
.federation - FederationTransform
.mock - MockingConfig
mock.mocks Mock configurations
.namingConvention - NamingConventionTransformConfig
.prefix - PrefixTransformConfig
prefix.ignore List of ignored types
.replaceField - ReplaceFieldTransformConfig
replaceField.replacements Array of rules to replace fields
.snapshot - SnapshotTransformConfig
snapshot.apply Resolver to be applied
For example;
apply:
- Query.* <- * will apply this extension to all fields of Query type
- Mutation.someMutationButProbablyYouWontNeedIt
.typeMerging - TypeMergingConfig
typeMerging.queryFields Denotes a root field used to query a merged type across services.
The marked field's name is analogous
to the fieldName setting in
[merged type configuration](https://www.graphql-tools.com/docs/stitch-type-merging#basic-example),
while the field's arguments and return type are used to infer merge configuration.
Directive arguments tune the merge behavior