ServiceConfig
The enabled features and service limits configured by the server.
type ServiceConfig {
isEnabled(
feature: Feature!
): Boolean!
enabledFeatures: [Feature!]!
maxQueryDepth: Int!
maxQueryNodes: Int!
maxOutputNodes: Int!
maxDbQueryCost: Int!
defaultPageSize: Int!
maxPageSize: Int!
mutationTimeoutMs: Int!
requestTimeoutMs: Int!
maxTransactionPayloadSize: Int!
maxQueryPayloadSize: Int!
maxTypeArgumentDepth: Int!
maxTypeArgumentWidth: Int!
maxTypeNodes: Int!
maxMoveValueDepth: Int!
maxTransactionIds: Int!
maxMultiGetKeys: Int!
maxScanLimit: Int!
}
Fields
ServiceConfig.isEnabled
● Boolean!
non-null scalar
Check whether
feature
is enabled on this GraphQL service.
ServiceConfig.isEnabled.feature
●Feature!
non-null enum
ServiceConfig.enabledFeatures
● [Feature!]!
non-null enum
List of all features that are enabled on this GraphQL service.
ServiceConfig.maxQueryDepth
● Int!
non-null scalar
The maximum depth a GraphQL query can be to be accepted by this service.
ServiceConfig.maxQueryNodes
● Int!
non-null scalar
The maximum number of nodes (field names) the service will accept in a single query.
ServiceConfig.maxOutputNodes
● Int!
non-null scalar
The maximum number of output nodes in a GraphQL response.
Non-connection nodes have a count of 1, while connection nodes are counted as the specified 'first' or 'last' number of items, or the default_page_size as set by the server if those arguments are not set.
Counts accumulate multiplicatively down the query tree. For example, if a query starts with a connection of first: 10 and has a field to a connection with last: 20, the count at the second level would be 200 nodes. This is then summed to the count of 10 nodes at the first level, for a total of 210 nodes.
ServiceConfig.maxDbQueryCost
● Int!
non-null scalar
Maximum estimated cost of a database query used to serve a GraphQL request. This is measured in the same units that the database uses in EXPLAIN queries.
ServiceConfig.defaultPageSize
● Int!
non-null scalar
Default number of elements allowed on a single page of a connection.
ServiceConfig.maxPageSize
● Int!
non-null scalar
Maximum number of elements allowed on a single page of a connection.