Open honasassa opened 5 years ago
Why not do this yourself and open a PR?
Thanks @honasassa for the suggestion. Feel free to open an PR for that. Also, I was thinking that it might be interesting to make this play nicely along with https://github.com/bboure/serverless-appsync-simulator
For example, if the simulator is started, we might detect that and, optionally, start graphql-playground
with the simulator's endpoint.
When developping in local, it is helpful to specify graphql endpoint to local endpoint.
So, how about adding --endpoint arguments to
sls graphql-playground
?Changing like this.
index.js
graphql-playground.js