Setup .graphqlconfig and update schema

This commit is contained in:
Hammad Jutt
2020-08-19 00:49:06 -06:00
parent 6ee27a3695
commit d19df2ed44
2 changed files with 17 additions and 2 deletions

15
.graphqlconfig Normal file
View File

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

View File

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