Closed phryneas closed 1 month ago
/release:pr
Path | Size |
---|---|
{ ApolloNextAppProvider, NextSSRApolloClient, NextSSRInMemoryCache } from '@apollo/experimental-nextjs-app-support/ssr' (Browser ESM) | 7.8 KB (+0.09% πΊ) |
{ WrapApolloProvider, ApolloClient, InMemoryCache } from '@apollo/client-react-streaming' (Browser ESM) | 1.41 KB (+0.7% πΊ) |
{ buildManualDataTransport } from '@apollo/client-react-streaming/manual-transport' (Browser ESM) | 6.25 KB (+0.21% πΊ) |
@apollo/client-react-streaming (Browser ESM) | 2.12 KB (+0.51% πΊ) |
@apollo/client-react-streaming (SSR ESM) | 1.72 KB (0%) |
@apollo/client-react-streaming (RSC ESM) | 1020 B (0%) |
@apollo/client-react-streaming/manual-transport (Browser ESM) | 6.43 KB (+0.13% πΊ) |
@apollo/client-react-streaming/manual-transport (SSR ESM) | 6.32 KB (0%) |
@apollo/experimental-nextjs-app-support/ssr (Browser ESM) | 8.4 KB (+0.12% πΊ) |
@apollo/experimental-nextjs-app-support/ssr (SSR ESM) | 8.31 KB (+0.04% πΊ) |
@apollo/experimental-nextjs-app-support/ssr (RSC ESM) | 839 B (0%) |
@apollo/experimental-nextjs-app-support/rsc (RSC ESM) | 261 B (0%) |
a66ad6c(current) vs 77e6327 main#65(baseline)
[!WARNING] Bundle contains 1 duplicate package β View duplicate packages
Bundle metrics
2 changes
1 regression
ββββββββββ | ββββββCurrent Job #75 |
βββββBaseline Job #65 |
---|---|---|
Initial JS | 890.38KiB (~+0.01% ) |
890.35KiB |
Initial CSS | 0B |
0B |
Cache Invalidation | 21.07% |
0.03% |
Chunks | 24 |
24 |
Assets | 45 |
45 |
Modules | 512 |
512 |
Duplicate Modules | 30 |
30 |
Duplicate Code | 1.29% |
1.29% |
Packages | 29 |
29 |
Duplicate Packages | 1 |
1 |
1 change
1 regression
View job #75 reportβView pr/fix-simulatedQueries branch activityβView project dashboard
A new release has been made for this PR. You can install the package you need using one of
npm i @apollo/experimental-nextjs-app-support@0.0.0-commit-4875530
npm i @apollo/client-react-streaming@0.0.0-commit-4875530
I believe this would fix #256
While the
__typename
transform normally is applied in both queries happening during SSR, and in the Browser, in the case where a query could not fully be transported from SSR to the Browser (e.g. in the case an error was thrown on the server, or because the stream closed before it was fully transported over), these would be replayed as "simulated queries", and in that case the transform was not applied.Hint for review: hide whitespace :)