Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dotnet/src/FlightJar.Core/State/RegistrySnapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public sealed record RegistrySnapshot(
/// can show connection state and peer count. Null when federation is
/// disabled (env kill switch <c>P2P_ENABLED=0</c>) and the service
/// was never registered.</summary>
/// <remarks>The explicit JSON name pins the wire key to <c>p2p</c>;
/// the global SnakeCaseLower policy would otherwise emit <c>p2_p</c>
/// because it inserts an underscore between the digit and trailing
/// uppercase letter.</remarks>
[System.Text.Json.Serialization.JsonPropertyName("p2p")]
public SnapshotP2PStatus? P2P { get; init; }

public static RegistrySnapshot Empty { get; } = new(
Expand Down
Loading