As of now the gql parser is very basic. It needs to be extended to support fragments, and fragments with interfaces and unions.