Open dwwoelfel opened 5 years ago
Queries with differing arguments for the same field should not be allowed.
An example of a query that should fail (see swapi example)
query AllFilms { allFilms(first: 1) { totalCount } allFilms(first: 2) { pageInfo { hasNextPage } } }
An example of a query that should succeed (see swapi example)
query AllFilms { allFilms(first: 1) { totalCount } allFilms(first: 1) { pageInfo { hasNextPage } } }
If #168 gets merged, merge_selections would be a good place to do the check for conflicting arguments.
merge_selections
Queries with differing arguments for the same field should not be allowed.
An example of a query that should fail (see swapi example)
An example of a query that should succeed (see swapi example)
If #168 gets merged,
merge_selections
would be a good place to do the check for conflicting arguments.