I am getting the error "Validation error of type FieldsConflict" when i am not using aliases in my request. kindly confirm if this is expected or if there is a workaround
{
person(search: [{firstname: "DAN", lastname: "WATLER", country: "FRANCE"}])
{
firstname
lastname
country
age
address
}
person(search: [{firstname: "FRANK", lastname: "TEE", country: "FRANCE"}])
{
firstname
lastname
country
age
address
}
}
Above code gives validation error but if I use aliases shown below, error doesn't come and I get successful response.
I dont want to use aliases, please suggest if any workaround. Thanks !
{
dan: person(search: [{firstname: "DAN", lastname: "WATLER", country: "FRANCE"}])
{
firstname
lastname
country
age
address
}
frank: person(search: [{firstname: "FRANK", lastname: "TEE", country: "FRANCE"}])
{
firstname
lastname
country
age
address
}
}