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 } """