Closed
Description
From @MovGP0 on Wednesday, October 25, 2017 2:38:39 AM
Given I have an Entity with an readonly collection like this:
public sealed class MyEntity
{
public MyEntity()
{
}
[JsonConstructor]
public MyEntity(IEnumerable<string> tags)
{
Tags = tags?.ToList() ?? new List<string>();
}
[JsonProperty("tags")]
public ICollection<string> Tags { get; } = new List<string>();
}
Than it is not possible to patch it, besides the property beeing potentially writeable and also serializeable.
Copied from original issue: aspnet/JsonPatch#118