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...
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...