Files
twenty/packages
Claude 8a30f5afc5 fix: complete Apollo v4 migration - upgrade deps, fix error handling, fix tests
- Upgrade apollo-link-rest 0.9 → 0.10 (Apollo v4 compatible)
- Upgrade apollo-upload-client 17 → 19 (Apollo v4 compatible)
- Replace createUploadLink with UploadHttpLink
- Replace instanceof CombinedGraphQLErrors with CombinedGraphQLErrors.is()
- Fix test mocks: jest.mock('@apollo/client') → jest.mock('@apollo/client/react')
- Fix inline snapshots: ApolloError → Error (v4 error type changes)
- Fix apollo.factory test for v4 error handling behavior
- Add apollo-upload-client type declarations
- Update jest.config to transform apollo-upload-client .mjs files

https://claude.ai/code/session_019WGZ6Rd7sEHuBg9sTrXRqJ
2026-03-12 11:39:31 +00:00
..