Package-level declarations

Types

Link copied to clipboard

Compilation tests that verify generated source code compiles successfully with the Kotlin compiler.

Link copied to clipboard

Generates a GraphQLDocuments Kotlin object containing the full document text for each operation as raw string constants.

Link copied to clipboard

Generates Kotlin enum classes for GraphQL enum types.

Link copied to clipboard

Renders GraphQL default literals as Kotlin expressions that match generated helper types.

Link copied to clipboard

Generates a GraphQLHashes Kotlin object containing APQ SHA-256 hashes for each operation's flattened document.

Link copied to clipboard

Generates Kotlin data classes for schema input object types.

Link copied to clipboard

Generates a GraphQLOperations Kotlin object containing operation name constants, grouped by operation type (Query, Mutation, Subscription).

Link copied to clipboard

Generates per-operation helper objects.

Link copied to clipboard

Tests that generated operation request helpers use the backend-neutral GraphQLOperationRequest contract from :api and never the legacy serializer-coupled GraphQLRequest.

Link copied to clipboard

Generates a GeneratedGraphQLRegistry Kotlin object that implements GraphQLDocumentRegistry. Maps operation names to their documents and hashes.

Link copied to clipboard
class ResponseModelGenerator(schemaIndex: SchemaIndex, scalarMappings: Map<String, String> = emptyMap(), backend: SerializationBackend = SerializationBackend.KOTLINX)

Generates response model data classes from a normalized ResponseSelectionSet produced by co.anitrend.retrofit.graphql.codegen.parser.ResponseSelectionParser.

Link copied to clipboard

Tests that generators emit correct serialization annotations based on the selected SerializationBackend.

Link copied to clipboard

Generates Kotlin data classes for operation variables.