parseOperations

Parses all operations from a single .graphql file. A file may contain multiple operations.

Return

All operations found in the file.

Parameters

file

The .graphql file to parse.