Settings to control the GraphQLService behavior.
Disables authentication for graphql endpoints. This may be useful when you are developing the app and want a more relaxed exploring experience. If you're using studio to explore the graphql API and responses, it will handle authentication for you, so there's no need to disable it.
Disables the grahpiql explorer endpoint (
Controls whether the explorer websocket connections will be made over SSL or not. If not set, the service will try to infer the correct value from the request protocol, but in some cases, a load balancer may terminate https traffic, leading to incorrect websocket protocol being used.
Controls whether the total count of the objects matched by the query will be returned as a property in the query and subscription responses. Default is false.
The number in milliseconds which a Realm will be kept open after a request has completed. Higher values mean that more Realms will be kept in the cache, drastically improving the response times of requests hitting "warm" Realms. This, however, comes at the cost of increased memory usage. If a negative value is provided, the realms will never be evicted from the cache. Default is 120000 (2 minutes).
Settings controlling the schema caching strategy. If set to
Realm schemas will not be cached and instead generated on every request.
This is useful while developing and schemas may change frequently, but
drastically reduces performance. If not set, or set to a SchemaCacheSettings
instance, schemas will be cached.