parseFragments

Parses all fragment definitions from a single .graphql file.

Return

All fragment definitions found in the file.

Parameters

file

The .graphql file to parse.