toExecutableDefinitions
fun BufferedSource.toExecutableDefinitions( schema: Schema, filePath: String? = null, fieldsOnDisjointTypesMustMerge: Boolean = true): List<GQLDefinition>
Content copied to clipboard
Parses the source to a List<GQLDefinition>, throwing on parsing or validation errors.
See parseAsGQLDocument and validateAsExecutable for more granular error reporting