CultNet: schema catalog serves member rows on request (C# server, contract) #195
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/rs-subscribe-catalog-cs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Third of four cuts toward a Rust subscription client, implementing
cultlib-gaps:ruling:subscriber-member-rows-by-catalog-request.schema_catalog_requestgains an optionalincludeMembersand its descriptors an optional typedmemberslist (additive); the C# server answers with the cache's own catalog member rows, whose contentHash equals the records' schemaContentHash (the subscriber's cache key). Authorization: the catalog asks the subscribe authorizer per schema and omits denied types entirely (no rows, hash, id or count). An old client gets byte-identical old responses; MessagePack 3.1.7 honours no conditional omission, so two hand formatters write the new keys only when set, and a reflection test fails on any [Key] a formatter misses. Rust, TS and Python decode the C#-written vector; legacy encoders refuse includeMembers. The TS first-call docs test passes on CRLF checkouts.Spec
cultlib-gaps:cut_spec:cut-rs-subscribe-catalog-cs.r1; reports h1, h2; Soul s1, s2 (s2 holds, no leak). C# 861, TS 352, Rust and Python green.🤖 Generated with Claude Code