SchemaIndex

Indexed schema metadata used during code generation.

This keeps the original SchemaType definitions while also providing efficient lookups by schema name so generators can branch on the real schema kind (input object, enum, or scalar) instead of treating every schema name the same.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Enum definitions discovered from the schema.

Link copied to clipboard

Input object definitions discovered from the schema.

Link copied to clipboard

Scalar definitions discovered from the schema.

Functions

Link copied to clipboard

Returns the schema definition registered for name, or null if the name is unknown.