Uh oh!
There was an error while loading. Please reload this page.
Add GraphQL Apollo Kotlin 4 integration - #4166
Conversation
NOTE: to review this I would recommend just looking at the diff between the first commit in the PR and the last one, the first commit is porting the code we have for v3 to v4 |
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| c2c78de | 415.28 ms | 505.08 ms | 89.80 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| c2c78de | 1.58 MiB | 2.21 MiB | 640.27 KiB |
Previous results on branch: lcian/feat/apollo-4
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| b6f49c8 | 347.02 ms | 419.10 ms | 72.08 ms |
| afa0712 | 379.70 ms | 463.00 ms | 83.30 ms |
| 98d90f9 | 410.86 ms | 515.15 ms | 104.29 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| b6f49c8 | 1.58 MiB | 2.21 MiB | 641.11 KiB |
| afa0712 | 1.58 MiB | 2.21 MiB | 641.06 KiB |
| 98d90f9 | 1.58 MiB | 2.21 MiB | 641.09 KiB |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…nsions to make it easier to migrate
markushi
left a comment
There was a problem hiding this comment.
NOTE: to review this I would recommend just looking at the diff between the first commit in the PR and the last one, the first commit is porting the code we have for v3 to v4
i.e. use this to review: 4fac45da..59977875 (#4166)
I mainly reviewed exactly that, looks good to me! Do you think we should release this in an alpha version first?
lcian
commented
Feb 19, 2025
Thanks @markushi ! |
adinauer
commented
Feb 20, 2025
Since this adds a new module and doesn't change existing code I think it's safe to release without an alpha as the only customers affected are those explicitly using the new Apollo 4 dependency and actively configuring it to be used. |
adinauer
commented
Feb 20, 2025
Deferring to @lbloder for a review here since he wrote the integration for v3. |
lbloder
left a comment
There was a problem hiding this comment.
LGTM, nicely done 👍
To make the CI run successfully, you'll need to run make api once locally and push the changes.
lcian
commented
Feb 24, 2025
Thanks for kickstarting this @cvb941 ! |
cvb941
commented
Feb 24, 2025
thanks @lcian for the work here, I hope many people will use the updated Apollo integration as well 😊 |
📜 Description
Adds a new module to integrate Apollo Kotlin 4.
💡 Motivation and Context
Closes#3662
💚 How did you test it?
Unit tests with both
ApolloCall<D>::executeandApolloCall<D>::executeV3(behaving as v3).📝 Checklist
sendDefaultPIIis enabled.