parseAsGQLType

fun String.parseAsGQLType(options: ParserOptions = ParserOptions.Default): GQLResult<GQLType>


fun BufferedSource.parseAsGQLType(filePath: String? = null, options: ParserOptions = ParserOptions.Default): GQLResult<GQLType>

Parses the source to a GQLType, validating the syntax but not the contents of the value.

Closes BufferedSource