SchemaParser

Parses a GraphQL schema definition file (schema.graphql) and extracts input object types, enum types, and scalar type definitions for code generation.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun parse(file: File): List<SchemaType>

Parses a schema file and returns all schema-level type definitions.

Link copied to clipboard
fun toGraphQLType(type: Type<*>): GraphQLType

Converts a graphql-java Type AST node to our GraphQLType IR.