-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area:codecArea: codecs and serializationArea: codecs and serializationenhancementNew feature or requestNew feature or requestpriority:p3Priority P3 (low)Priority P3 (low)
Milestone
Description
Summary
Python dicts with non-string keys can fail JSON serialization; this should be detected and surfaced explicitly.
Failure mode
json.dumpsraisesTypeErrorfor non-string keys.- Failure surfaces as a protocol error without actionable messaging.
Repro (adversarial)
- Add a fixture that returns
{1: "one", ("a", "b"): "tuple"}. - Call through
NodeBridgeand verify explicit error message.
Acceptance criteria
- Non-string dict keys are rejected with a clear error before encoding.
- Adversarial tests cover this case.
Metadata
Metadata
Assignees
Labels
area:codecArea: codecs and serializationArea: codecs and serializationenhancementNew feature or requestNew feature or requestpriority:p3Priority P3 (low)Priority P3 (low)