Editor/Document/Payloads/FieldControlPayload.cs

A small payload record used by the Razor designer editor. It derives from Payload and sets the Kind to ControlType.FieldControl while excluding that property from JSON serialization.

using System.Text.Json.Serialization;

namespace Grains.RazorDesigner.Document;

public sealed record FieldControlPayload : Payload
{
    [JsonIgnore]
    public override ControlType Kind => ControlType.FieldControl;
}