parse

Parses a schema file and returns all schema-level type definitions.

Return

List of extracted SchemaType definitions.

Parameters

file

The schema.graphql file.