Extends the Microsoft.AspNetCore.JsonPatch library by adding a PatchableAttribute and JsonPatchDocument.ApplyToIfPatchable method which restricts a JSON patch to only be applied to properties which are assigned the attribute.
Info
Version: | 2.0.0 |
Author(s): | Ed Downs |
Last Update: | Friday, September 1, 2023 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Labradoratory.AspNetCore.JsonPatch.Patchable |
Install
Install-Package Labradoratory.AspNetCore.JsonPatch.Patchable
dotnet add package Labradoratory.AspNetCore.JsonPatch.Patchable
paket add Labradoratory.AspNetCore.JsonPatch.Patchable
Labradoratory.AspNetCore.JsonPatch.Patchable Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.JsonPatch(>= 3.0.0)
Tags