We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3d73ef + 3ed0daf commit 7061dc2Copy full SHA for 7061dc2
1 file changed
dotnet/src/FlightJar.Core/State/RegistrySnapshot.cs
@@ -27,6 +27,11 @@ public sealed record RegistrySnapshot(
27
/// can show connection state and peer count. Null when federation is
28
/// disabled (env kill switch <c>P2P_ENABLED=0</c>) and the service
29
/// was never registered.</summary>
30
+ /// <remarks>The explicit JSON name pins the wire key to <c>p2p</c>;
31
+ /// the global SnakeCaseLower policy would otherwise emit <c>p2_p</c>
32
+ /// because it inserts an underscore between the digit and trailing
33
+ /// uppercase letter.</remarks>
34
+ [System.Text.Json.Serialization.JsonPropertyName("p2p")]
35
public SnapshotP2PStatus? P2P { get; init; }
36
37
public static RegistrySnapshot Empty { get; } = new(
0 commit comments