diff --git a/dotnet/src/FlightJar.Core/State/RegistrySnapshot.cs b/dotnet/src/FlightJar.Core/State/RegistrySnapshot.cs index 7cece8e..7b65fa2 100644 --- a/dotnet/src/FlightJar.Core/State/RegistrySnapshot.cs +++ b/dotnet/src/FlightJar.Core/State/RegistrySnapshot.cs @@ -27,6 +27,11 @@ public sealed record RegistrySnapshot( /// can show connection state and peer count. Null when federation is /// disabled (env kill switch P2P_ENABLED=0) and the service /// was never registered. + /// The explicit JSON name pins the wire key to p2p; + /// the global SnakeCaseLower policy would otherwise emit p2_p + /// because it inserts an underscore between the digit and trailing + /// uppercase letter. + [System.Text.Json.Serialization.JsonPropertyName("p2p")] public SnapshotP2PStatus? P2P { get; init; } public static RegistrySnapshot Empty { get; } = new(