Skip to content

feat: Add FDv2 wire format and protocol handler#177

Draft
beekld wants to merge 1 commit into
mainfrom
bklimt/SDK-2588/fdv2-wire-types
Draft

feat: Add FDv2 wire format and protocol handler#177
beekld wants to merge 1 commit into
mainfrom
bklimt/SDK-2588/fdv2-wire-types

Conversation

@beekld

@beekld beekld commented Jun 23, 2026

Copy link
Copy Markdown

Summary

  • Introduces the fdv2 module:
    • wire-format types
    • assembled ChangeSet / Selector types
    • protocol-handler state machine that folds SSE events into change sets
  • Object bodies stay as raw serde_json::Value; typed deserialization will live in a later translator.
  • Matches the C++ SDK on permissive-parsing choices:
    • Selector keeps the deprecated version field alongside state
    • Goodbye and FDv2Error use optional fields to tolerate permissively-parsed wire data
  • Module is annotated #[allow(dead_code)] for now: types are covered by unit tests but not yet reachable from the production data path.

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