Package com.apollographql.apollo3.ast.introspection

Types

Link copied to clipboard
@Serializable
data class IntrospectionSchema(val __schema: IntrospectionSchema.Schema)

Functions

Link copied to clipboard
fun IntrospectionSchema.normalize(): IntrospectionSchema
Link copied to clipboard
fun IntrospectionSchema.toGQLDocument(filePath: String? = null): GQLDocument
Link copied to clipboard
fun Schema.toIntrospectionSchema(): IntrospectionSchema
fun File.toIntrospectionSchema(): IntrospectionSchema
fun String.toIntrospectionSchema(): IntrospectionSchema
fun BufferedSource.toIntrospectionSchema(origin: String = ""): IntrospectionSchema
Link copied to clipboard
fun IntrospectionSchema.toJson(): String
fun IntrospectionSchema.toJson(file: File)
Link copied to clipboard
fun IntrospectionSchema.toSchema(): Schema

Transforms the IntrospectionSchema into a Schema that contains builtin definitions

fun File.toSchema(): Schema
Link copied to clipboard
fun File.toSchemaGQLDocument(): GQLDocument

Transforms the given file to a GQLDocument without doing validation