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
Hello,
Trying to figure out how we should approach this issue. If we are rewriting a scalar field to an object, it replaces all fields with the name.
So we want to rewrite the the user's name scalar to an object, it will also replace the one for city
query {
user {
name
}
city {
name
}
}
I know we can filter by fragmentMatchCondition or queryMatchCondition. But that would mean we expect the user to either use fragments or give consistent names for their queries? Let me know if this makes sense, I feel like I may be missing something...
The text was updated successfully, but these errors were encountered:
Hello,
Trying to figure out how we should approach this issue. If we are rewriting a scalar field to an object, it replaces all fields with the name.
So we want to rewrite the the user's
name
scalar to an object, it will also replace the one forcity
I know we can filter by
fragmentMatchCondition
orqueryMatchCondition
. But that would mean we expect the user to either use fragments or give consistent names for their queries? Let me know if this makes sense, I feel like I may be missing something...The text was updated successfully, but these errors were encountered: