Skip to content

Pin P2P snapshot key to p2p (SnakeCaseLower would emit p2_p)#63

Merged
MrSuttonmann merged 1 commit into
mainfrom
p2p-peer-count
May 3, 2026
Merged

Pin P2P snapshot key to p2p (SnakeCaseLower would emit p2_p)#63
MrSuttonmann merged 1 commit into
mainfrom
p2p-peer-count

Conversation

@MrSuttonmann

Copy link
Copy Markdown
Owner

The default SnakeCaseLower policy turns the property name P2P into p2_p because it inserts an underscore between the digit and the trailing uppercase letter. The frontend reads snap.p2p, so the status row stayed hidden. Explicit [JsonPropertyName] pins the key.

The default SnakeCaseLower policy turns the property name `P2P` into
`p2_p` because it inserts an underscore between the digit and the
trailing uppercase letter. The frontend reads `snap.p2p`, so the
status row stayed hidden. Explicit [JsonPropertyName] pins the key.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MrSuttonmann MrSuttonmann merged commit 7061dc2 into main May 3, 2026
11 checks passed
@MrSuttonmann MrSuttonmann deleted the p2p-peer-count branch May 3, 2026 11:52
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