graphql-ide
graphql-ide copied to clipboard
How to rename query from collection?
First of all, thank you for this project, it's a game changer :)
I downloaded the latest version but I cannot seem to find the option to name/rename when saving a query into collection.
Is it a bug or I just cannot find it?
Thanks!
Same issue here... REALLY ANNOYING ;-)
@kitze @orefalo Totally agree this is annoying. Although it's possible to rename query by renaming them inside the editor, this functionality will be improved in the next release. Thanks for pointing out!
?! Inside an editor.. really? I must have missed something, could you provide instructions.
FYI: When inside the editor, the meta information title shows grey out, therefore not editable.
![screen shot 2017-02-06 at 20 43 48](https://cloud.githubusercontent.com/assets/3968358/22663477/ffe06808-ecac-11e6-889f-2e19cbd8d2bd.png)
But the field is not editable, see above
@orefalo That's right. Had to be disabled in the initial release the way it's designed. That's it for now.
@kitze This is designed this way as you are expecting. Initially I was trying to do that same and also I created a similar issue #23 but later I found how to use this.
Since there is no docs or introductory video for this software / package that's why it's make it difficult to use. However, after hit and trial, I came to know how to set name of a query or mutation or rename it. It is simply name of query itself. If you want to rename it, change the query name. e.g.
query DoIt {
getFoo(id: 123) {
name
}
}
So Doit
is the query name which will be shown in Query title as well as window / tab name.
Here is a screenshot for more clarification.
I hope, it's clear now. Stay happy :)
Ah, thank you very much @mzohaibqc, that will work for me but I will leave this issue open so it's clearer for other devs.
Cheers 🙌
nice! but, the user not easy to find this feature.