Skip to content

Add an Apollo client that never sends a token (RND-2355) - #3409

Closed
StylianosGakis wants to merge 4 commits into
feat/desktop-app-integrationfrom
ios/im-01-public-apollo-client
Closed

StylianosGakis wants to merge 4 commits into
feat/desktop-app-integrationfrom
ios/im-01-public-apollo-client

Conversation

@StylianosGakis

Copy link
Copy Markdown
Member
🤖 AI description

Adds a second Apollo client that never attaches an access token, for queries made before login.

It is built on the base HTTP client instead of letting the member client send without a token, so the iOS rule that a missing token fails the request stays intact. It has its own small in-memory cache and no logout interceptor.

First of three stacked PRs for logged-out important messages.

@notion-workspace

Copy link
Copy Markdown

Building the base HTTP client starts the device id's first DataStore write on the application scope. The test's teardown deleted the data directory under that write, and the uncaught IOException then failed the next runTest in the class. Teardown now waits for the application scope's work before deleting the directory.
@StylianosGakis
StylianosGakis marked this pull request as ready for review November 19, 2026 11:12
@StylianosGakis
StylianosGakis requested a review from a team as a code owner November 19, 2026 11:12
@StylianosGakis

Copy link
Copy Markdown
Member Author

Closing as superseded. These four commits now live in #3417 (authorship kept), which reaches develop through the stack #3415 to #3418. This branch was cut from feat/desktop-app-integration, so it cannot be retargeted to develop as it is: it carries 371 commits that are not on develop. The branch is left in place because #3410 is still based on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant