Fully stabilize now-stable protocol properties (#1686)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
8e7f28c237
commit
5d00eedebb
1 changed files with 4 additions and 162 deletions
|
|
@ -35,17 +35,8 @@ public abstract class RequestParams
|
|||
/// the value is the client's response to that input request.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[JsonIgnore]
|
||||
public IDictionary<string, InputResponse>? InputResponses
|
||||
{
|
||||
get => InputResponsesCore;
|
||||
set => InputResponsesCore = value;
|
||||
}
|
||||
|
||||
// See ExperimentalInternalPropertyTests.cs before modifying this property.
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("inputResponses")]
|
||||
internal IDictionary<string, InputResponse>? InputResponsesCore { get; set; }
|
||||
public IDictionary<string, InputResponse>? InputResponses { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets opaque request state echoed back from a previous <see cref="InputRequiredResult"/>.
|
||||
|
|
@ -57,17 +48,8 @@ public abstract class RequestParams
|
|||
/// exact value without modification.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[JsonIgnore]
|
||||
public string? RequestState
|
||||
{
|
||||
get => RequestStateCore;
|
||||
set => RequestStateCore = value;
|
||||
}
|
||||
|
||||
// See ExperimentalInternalPropertyTests.cs before modifying this property.
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("requestState")]
|
||||
internal string? RequestStateCore { get; set; }
|
||||
public string? RequestState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the opaque token that will be attached to any subsequent progress notifications.
|
||||
|
|
|
|||
Loading…
Reference in a new issue