create

Creates a GraphQLConverterFactory with an explicit GraphQLTransportCodec and an optional GraphQLDocumentRegistry.

No android.content.Context, default codec, or backend discovery is involved: the codec is mandatory on every creation path.

val factory = GraphQLConverterFactory.create(
registry = GeneratedGraphQLRegistry,
codec = KotlinxGraphQLTransportCodec(),
)

Return

A new GraphQLConverterFactory instance.

Parameters

codec

The explicit GraphQLTransportCodec used for all request and response conversion.

registry

Optional GraphQLDocumentRegistry, retained for API parity and the upcoming APQ phase. Never consulted while the neutral request carries its document.