NJsonApiCore icon indicating copy to clipboard operation
NJsonApiCore copied to clipboard

Resource configuration, when adding a resource, all properties must have get and set

Open brainwipe opened this issue 9 years ago • 0 comments

It must be possible to build a resource that has get properties, which you cannot set (such as calculated properties). If the client tries to change the "get only" properties then the system should use meta information to indicate that they are read only so that the client isn't under the illusion that they can be changed.

This solution isn't covered directly by the jsonapi specification, so I have started a conversation with the community. http://discuss.jsonapi.org/t/post-patch-read-only-attibutes/522

brainwipe avatar Jun 08 '16 09:06 brainwipe