Skip to content

Commit

Permalink
feat: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaStarkova-Tochka committed Aug 23, 2024
1 parent d80a3f9 commit d438338
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Tochka.JsonRpc.Common/Models/Request/Request.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public IUntypedCall WithSerializedParams(JsonSerializerOptions serializerOptions
/// </summary>
/// <param name="Id">Identifier established by the Client</param>
/// <param name="Method">Name of the method to be invoked</param>
/// <param name="Params">Parameter values to be used during the invocation of the method</param>
/// <param name="Jsonrpc">Version of the JSON-RPC protocol</param>
[PublicAPI]
[ExcludeFromCodeCoverage]
Expand Down
1 change: 0 additions & 1 deletion src/Tochka.JsonRpc.Server/Binding/JsonRpcParamsParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public IParseResult Parse(JsonDocument rawCall, JsonDocument? parameters, JsonRp
{
var bindingStyle = parameterMetadata.BindingStyle;
var jsonValueKind = parameters?.RootElement.ValueKind;
var hasParamsNode = rawCall.RootElement.TryGetProperty(JsonRpcConstants.ParamsProperty, out _);
return jsonValueKind switch
{
JsonValueKind.Object => ParseObject(parameters!.RootElement, parameterMetadata.PropertyName, bindingStyle),
Expand Down

0 comments on commit d438338

Please sign in to comment.