graphql / graphiql

GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
MIT License
15.93k stars 1.71k forks source link

Plugin: favoriting GraphQL endpoints #691

Open romarioraffington opened 6 years ago

romarioraffington commented 6 years ago

It would be nice to be able to favorite GraphQL endpoints to allow users to easily switch between endpoints (for example dev / prod).

If this get's approved, I would take a chance at implementing the feature.

gulten1992 commented 6 years ago

Hi

imolorhe commented 5 years ago

@romarioraffington It sounds like you are referring to the ability to set and use different values for different environments (that is, environment variables), similar to Postman environments?

romarioraffington commented 5 years ago

I was thinking of something simpler @imolorhe. Maybe a dropdown to switch between different GraphQL endpoints or the ability to favorite endpoints that you can select.

kevinsimper commented 5 years ago

@romarioraffington You should make it and just use graphiql as a dependency! 👍 I mean, if you can make it that would be awesome 💯

romarioraffington commented 4 years ago

@acao or @benjie, can you expound on what exactly is a plugin (in the graphiql context)?

Initially, I was thinking of just adding a new component. Thanks

acao commented 4 years ago

That will be determined soon. I have a proposal for the plugin API I hope to get set up and show to the GraphQL IDE working group (agendas are listed here in the repo), but we still have probably hundreds of people hours of work to get to the point where we are ready to implement a plugin API.