First of all this is not an issue, I need a little bit of help.
I didn't find a rewriter for the query name.
Example:
Let say we have query like this which is being used in many clients
query query getUserById($id: String!) { userById(id: $id) { ... } }
I want to change my query to this
query getCurrentUserByID($id: String!) { userById(id: $id) { ... } }
So I want that whenever client query getUserById, it should map to getCurrentUserByID. I think currently there is no option for query name. So is there any problem with writing a rewriter for query name? Have you tried this? Because I am thinking to write a query rewriter for this.
First of all this is not an issue, I need a little bit of help.
I didn't find a rewriter for the query name.
Example:
Let say we have query like this which is being used in many clients
query query getUserById($id: String!) { userById(id: $id) { ... } }I want to change my query to this
query getCurrentUserByID($id: String!) { userById(id: $id) { ... } }So I want that whenever client query getUserById, it should map to getCurrentUserByID. I think currently there is no option for query name. So is there any problem with writing a rewriter for query name? Have you tried this? Because I am thinking to write a query rewriter for this.