parseAsGQLType
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.
Parameters
filePath
the path of a file on the host filesystem where the source is coming from. If provided, filePath is used to display context for parsing errors. If the source doesn't come from a file, pass null
.