GraphQL page now notifies the query editor about the schema for validation

This commit is contained in:
Andrew Bastin
2020-01-19 14:22:56 -05:00
parent f0cfee56f2
commit 77e51f3301

View File

@@ -813,6 +813,8 @@ export default {
} }
this.gqlTypes = types; this.gqlTypes = types;
this.$refs.queryEditor.setValidationSchema(schema);
this.$nuxt.$loading.finish(); this.$nuxt.$loading.finish();
const duration = Date.now() - startTime; const duration = Date.now() - startTime;
this.$toast.info(this.$t("finished_in", { duration }), { this.$toast.info(this.$t("finished_in", { duration }), {