-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
🏓 awaiting-team-responserequires input from the apollo teamrequires input from the apollo team
Description
Issue Description
When I run my tests using MockedProvider I get 2 deprecation warnings:
[InMemoryCache]: `addTypename` is deprecated and will be removed in Apollo Client 4.0. Please remove the `addTypename` option when initializing `InMemoryCache`.
[cache.diff]: `canonizeResults` is deprecated and will be removed in Apollo Client 4.0. Please remove this option.
I'm not using addTypename nor canonizeResults in all my codebase.
These deprecation warnings don't show up when I run my app, only when running tests with vitest.
Link to Reproduction
https://codesandbox.io/p/devbox/focused-drake-l73wfw
Reproduction Steps
- Open reproduction codesandbox
- Run
npm t - Check console for stderr
@apollo/client version
3.14.0
guilbri, RichMatthews, meetar, night-jellyfish, saebinna and 4 more
Metadata
Metadata
Assignees
Labels
🏓 awaiting-team-responserequires input from the apollo teamrequires input from the apollo team