From 77e51f330111312be0eda10a57732cd620daa2b6 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Sun, 19 Jan 2020 14:22:56 -0500 Subject: [PATCH] GraphQL page now notifies the query editor about the schema for validation --- pages/graphql.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/graphql.vue b/pages/graphql.vue index f6ca59d6c..606796472 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -812,6 +812,8 @@ export default { } } this.gqlTypes = types; + + this.$refs.queryEditor.setValidationSchema(schema); this.$nuxt.$loading.finish(); const duration = Date.now() - startTime;