Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos
gamer147 36dd25826b fix(deck-builder): wire key is cardID/phantomCardID, not snake_case
Client's LitJson serializer emits the C# property name verbatim — the
SetParameter param classes in Wizard/GenerateDeckCodeTask.cs use cardID /
phantomCardID, and the matching Parse() reads jsonData["cardID"]. Snake-case
keys bound to empty in msgpack deserialize, the controller saw 0 cards, and
returned INVALID_DECK — surfaced as a blank deck code in the in-game UI.

Repro lived in data_dumps/traffic.ndjson #19-20. Existing tests pass through
the same JsonPropertyName on both serialize and deserialize, so they happily
round-tripped any consistent key — adding a wire-shape regression test that
posts the literal client JSON would be the right way to catch this class of
bug in the future (out of scope here).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 09:25:17 -04:00
..
2026-05-25 19:07:49 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 19:57:34 -04:00
2026-05-24 21:13:15 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-24 02:03:13 -04:00
2026-05-24 02:03:13 -04:00
2026-05-24 02:03:13 -04:00
2026-05-24 02:03:13 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 15:47:23 -04:00
2026-05-24 02:03:13 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 19:57:34 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 15:47:23 -04:00
2026-05-25 12:03:47 -04:00
2026-05-23 15:47:23 -04:00
2026-05-23 15:47:23 -04:00
2026-05-24 21:13:15 -04:00
2026-05-26 10:01:37 -04:00