Repository navigation
feat: add Apollo Client binding - #74
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
trueadm
force-pushed
the
codex/apollo-client-port
branch
from
July 14, 2026 09:53
b33474a to
ee41d04
Compare
trueadm
marked this pull request as ready for review
July 14, 2026 09:53
11 tasks done
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@octanejs/apollo-client, porting the full published Apollo Client 4.2.6 client adapter surface and declarations onto OctaneMockedProviderValidation
pnpm test— 855 files passed; 6,838 tests passed, 8 expected failures, 2 skippedpnpm typecheckpnpm format:checkpnpm packages:pack:checkpnpm changeset:checkNote
Medium Risk
Large new data-fetching binding with Suspense and cache semantics, though the upstream Apollo client is reused and SSR prepass/hydration integration is explicitly deferred.
Overview
Introduces
@octanejs/apollo-client, a new framework binding that mirrors Apollo 4’s split: the package root re-exports unchanged@apollo/client, while/reactports the full published client adapter (all 18 runtime exports, query-reference APIs, Suspense hooks,skipToken, preloading) with Apollo 4.2.6 TypeScript surface. Adapter-private internals are vendored; hooks run on Octane (octaneimports, compiler hook sites,use()for Suspense instead of thrown promises,useRenderGuardfor lazy-query render checks, explicitnulldeps where Apollo meant “every render”).Testing adds framework-neutral
/testingre-exports plus an OctaneMockedProvideron/testing/react. Workspace wiring includes root typecheck, generated bindings status / package inventory,docs/apollo-client-port-plan.md(buffered SSR/cache hydration called out as a follow-up), and MCPKNOWN_BINDINGS/ bridge docs so agents route@apollo/clientto this package.Reviewed by Cursor Bugbot for commit ee41d04. Bugbot is set up for automated code reviews on this repo. Configure here.