Skip to content

Commit

Permalink
fix: move to array in gerneric type
Browse files Browse the repository at this point in the history
BREAKING CHANGE: generics in graphql service require single instances
now
  • Loading branch information
ahennr committed Jul 5, 2023
1 parent d84ee7d commit dc830da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/SHOGunApplicationUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class SHOGunApplicationUtil<T extends Application, S extends Layer> {
try {
const {
allLayersByIds: layers
} = await this.client.graphql().sendQuery<S>({
} = await this.client.graphql().sendQuery<S[]>({
query: allLayersByIds,
variables: {
ids: layerIds
Expand Down

0 comments on commit dc830da

Please sign in to comment.