create
Default creator that uses a predefined Gson configuration.
Parameters
A valid application context
Minimum log level
Allows you to provide your own Gson configuration which will be used when serialize or deserialize response and request bodies.
Parameters
A valid application context
Custom gson implementation
Minimum log level
Creates a GraphConverter with the default GraphQLJson and a build-time generated GraphQLDocumentRegistry.
Parameters
A valid application context
A build-time generated registry of GraphQL operations
Minimum log level
Creates a GraphConverter with a custom Gson configuration and a build-time generated GraphQLDocumentRegistry.
Parameters
A valid application context
Custom gson implementation
A build-time generated registry of GraphQL operations
Minimum log level
Creates a GraphConverter with a custom GraphQLJson instance and a build-time generated GraphQLDocumentRegistry.
Parameters
A valid application context
A GraphQLJson implementation for serialization
A build-time generated registry of GraphQL operations
Minimum log level
Creates a GraphConverter that resolves operation documents from a build-time generated GraphQLDocumentRegistry without requiring an Android Context.
If a requested GraphQuery operation is not registered, request conversion fails fast with IllegalStateException because no asset fallback is available in this mode.
Parameters
A build-time generated registry of GraphQL operations.
Minimum log level.
Creates a registry-first GraphConverter with a custom Gson instance and without requiring an Android Context.
If a requested GraphQuery operation is not registered, request conversion fails fast with IllegalStateException because no asset fallback is available in this mode.
Parameters
Custom gson implementation.
A build-time generated registry of GraphQL operations.
Minimum log level.
Creates a registry-first GraphConverter with a custom GraphQLJson instance and without requiring an Android Context.
If a requested GraphQuery operation is not registered, request conversion fails fast with IllegalStateException because no asset fallback is available in this mode.
Parameters
A GraphQLJson implementation for serialization.
A build-time generated registry of GraphQL operations.
Minimum log level.