From d19df2ed447142be44655bd513871cf1e6cb541d Mon Sep 17 00:00:00 2001 From: Hammad Jutt Date: Wed, 19 Aug 2020 00:49:06 -0600 Subject: [PATCH] Setup .graphqlconfig and update schema --- .graphqlconfig | 15 +++++++++++++++ packages/codegen/schema.graphql | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .graphqlconfig diff --git a/.graphqlconfig b/.graphqlconfig new file mode 100644 index 00000000..4174d4fb --- /dev/null +++ b/.graphqlconfig @@ -0,0 +1,15 @@ +{ + "name": "MetaGame GraphQL Schema", + "schemaPath": "./packages/codegen/schema.graphql", + "extensions": { + "endpoints": { + "Hasura Dev": { + "url": "http://localhost:8080/v1/graphql", + "headers": { + "user-agent": "JS GraphQL" + }, + "introspect": false + } + } + } +} diff --git a/packages/codegen/schema.graphql b/packages/codegen/schema.graphql index f05d96d4..07a5cfd9 100644 --- a/packages/codegen/schema.graphql +++ b/packages/codegen/schema.graphql @@ -1960,7 +1960,7 @@ input Player_variance_order_by { } type Query { - getBoxProfile(address: String!): BoxProfile + getBoxProfile(address: String): BoxProfile } """query root""" @@ -2262,7 +2262,7 @@ type query_root { """fetch data from the table: "Skill" using primary key columns""" Skill_by_pk(id: uuid!): Skill - getBoxProfile(address: String!): BoxProfile + getBoxProfile(address: String): BoxProfile } """