JagaScript

Logo
1 min read

graphql-playground schema auto-update

April 10, 2019
tags: graphql, tips

So… you just changed some things in you graphql schema, triggered autompletion with ctrl+spacebar 200 times and still don’t see the new/edited field.

Then you realize you forgot (again) to refresh the page to trigger a new schema introspection.

If that’s familiar to you, it’s time to rejoice 🎉🎉🎉

Starting version 1.8.8 graphql-playground introduces settings to autoupdate current schema by polling at use-defined intervals a new schema introspection

graphl-playground-polling

more info: https://medium.com/novvum/graphql-playground-v1-8-8-introducing-automatic-schema-reload-6c9da4bbd552

Sharing is caring

Blog by Jaga Santagostino.
Software consultant, polyglot developer, maker of things, lifelong learner.
ReactJS Milano & milano.dev organizer