Skip to content

Commit

Permalink
no typename
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 committed Sep 23, 2024
1 parent c25ceeb commit a6ef31b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/packages/data-portal/app/apollo.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const apolloClientV2 = new ApolloClient({
fetchPolicy: 'no-cache',
},
},
cache: new InMemoryCache(),
cache: new InMemoryCache({ addTypename: false }),
link: createHttpLink({
uri: process.env.API_URL_V2 ?? ENVIRONMENT_CONTEXT_DEFAULT_VALUE.API_URL_V2,
}),
Expand Down
22 changes: 11 additions & 11 deletions frontend/packages/data-portal/app/graphql/getRunByIdV2.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,17 @@ const GET_RUN_BY_ID_QUERY_V2 = gql(`
}
# Header
# tiltseriesAggregate { # TODO(bchu): Uncomment when __typename bug is fixed.
# aggregate {
# count
# avg {
# tiltSeriesQuality
# }
# # sum {
# # tiltseriesFramesCount # TODO(bchu): Uncomment when populated.
# # }
# }
# }
tiltseriesAggregate { # TODO(bchu): Uncomment when __typename bug is fixed.
aggregate {
count
avg {
tiltSeriesQuality
}
# sum {
# tiltseriesFramesCount # TODO(bchu): Uncomment when populated.
# }
}
}
}
}
`)
Expand Down

0 comments on commit a6ef31b

Please sign in to comment.