Skip to content

feat: Expose FDv2 through the client SDK configuration - #624

Draft
beekld wants to merge 9 commits into
bklimt/SDK-3034/client-fdv2-connection-modesfrom
bklimt/SDK-3037/client-fdv2-public-api
Draft

beekld wants to merge 9 commits into
bklimt/SDK-3034/client-fdv2-connection-modesfrom
bklimt/SDK-3037/client-fdv2-public-api

Conversation

@beekld

@beekld beekld commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Exposes FDv2 through the client SDK's public configuration, so an application can select and configure the FDv2 data source.

  • Adds a public FDv2 configuration builder for the data source and the connection mode.
  • Sends FDv2 requests to the SDK's service endpoints, unless a source sets its own base URL.
  • Selects the FDv2 orchestrator in place of the FDv1 data source when the application configures it.
  • Maps the orchestrator's status onto the client's public data-source status.
  • Adds a test that identify doesn't send the previous context's selector as the basis for the new context.

The builder differs from the server's FDv2 builder in a few ways:

  • It has a public constructor that starts from the built-in modes, rather than static Default() and Custom() constructors. The client customizes one connection mode at a time, and the spec keeps the built-in definition of any mode the application leaves alone.
  • It has no setters for the fallback and recovery timeouts. They aren't part of the spec, and other SDKs don't have setters for them.
  • The FDv1 fallback has its own FDv1Polling builder, rather than reusing the FDv1 polling builder, so that it can take a base URL. The spec gives the fallback its own endpoint overrides, and the Flutter and JS SDKs support one.

@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch from aea4bb4 to 37feea7 Compare October 3, 2026 01:21
@beekld
beekld changed the base branch from bklimt/SDK-3034/client-fdv2-connection-modes to bklimt/SDK-3036/client-fdv2-fdv1-fallback October 5, 2026 18:00
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch from 37feea7 to 5ce1873 Compare October 5, 2026 18:00
@beekld
beekld added this pull request to stack #627 October 5, 2026 18:00
@beekld
beekld removed this pull request from stack #627 October 5, 2026 18:05
@beekld
beekld changed the base branch from bklimt/SDK-3036/client-fdv2-fdv1-fallback to bklimt/SDK-3034/client-fdv2-connection-modes October 5, 2026 18:05
@beekld
beekld added this pull request to stack #628 October 5, 2026 18:10
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch from 5ce1873 to 2ce35fa Compare October 5, 2026 18:58
@beekld
beekld removed this pull request from stack #628 October 5, 2026 19:18
@beekld
beekld added this pull request to stack #629 October 5, 2026 19:24
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch from 2ce35fa to 2544454 Compare October 5, 2026 23:25
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch 2 times, most recently from 2c9e17d to faa2a20 Compare October 6, 2026 17:22
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch 2 times, most recently from 378eb0a to a1e8bf2 Compare November 17, 2026 20:12
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch from a1e8bf2 to 51f43f5 Compare November 18, 2026 00:16
@beekld
beekld force-pushed the bklimt/SDK-3037/client-fdv2-public-api branch from 51f43f5 to a36458a Compare November 18, 2026 03:03

This branch has not been deployed

No deployments
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