You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this might be related to #107 but I figured it would be better to open a new issue as it's related to field arguments.
The following query will raise an error as expected:
{
country(code: "DE") {
name
}
country(code: "US") {
name
}
}
panic: input:6: Fields "country" conflict because they have differing arguments. Use different aliases on the fields to fetch both if this was intentional.
Whereas the same query with nested arguments will not:
{
countryWhere(where: {code: "DE"}) {
name
}
countryWhere(where: {code: "US"}) {
name
}
}
Hi there,
this might be related to #107 but I figured it would be better to open a new issue as it's related to field arguments.
The following query will raise an error as expected:
Whereas the same query with nested arguments will not:
Full test case:
Is this issue of the same origin as #107 or a different beast?
Thanks for the all the great work with gqlparser!
The text was updated successfully, but these errors were encountered: