Skip to content

Commit

Permalink
fix(graphql): fix graphql types when no queries are available
Browse files Browse the repository at this point in the history
  • Loading branch information
Frantz Kati committed Dec 27, 2020
1 parent 49851cc commit 68a6bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ ${this.getOrderByQueryForResource(resource, config)}
}
`
} else {
this.schemaString = `type Query {_: Boolean}`
this.schemaString = `${this.schemaString}type Query {_: Boolean}`
}

this.schemaString = `${this.schemaString}
Expand Down

0 comments on commit 68a6bd7

Please sign in to comment.