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 a build-time generated GraphQLDocumentRegistry.
When a registry is provided, the converter will resolve operation documents from the registry before falling back to asset-based file discovery.
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 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.