IntrospectionSchema

@Serializable
data class IntrospectionSchema(val __schema: IntrospectionSchema.Schema)

Constructors

Link copied to clipboard
fun IntrospectionSchema(__schema: IntrospectionSchema.Schema)

Types

Link copied to clipboard
@Serializable
data class Schema(    val queryType: IntrospectionSchema.Schema.QueryType,     val mutationType: IntrospectionSchema.Schema.MutationType?,     val subscriptionType: IntrospectionSchema.Schema.SubscriptionType?,     val types: List<IntrospectionSchema.Schema.Type>,     val directives: List<IntrospectionSchema.Schema.Directive> = emptyList())

Properties

Link copied to clipboard
val __schema: IntrospectionSchema.Schema

Extensions

Link copied to clipboard
fun IntrospectionSchema.normalize(): IntrospectionSchema
Link copied to clipboard
fun IntrospectionSchema.toGQLDocument(filePath: String? = null): GQLDocument
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