JsonApiDotNetCore
JsonApiDotNetCore copied to clipboard
Reflect attribute/relationship capabilities in resource object schemas
Attribute capabilities will affect the listed properties in the attribute object of a resource object.
- The
AttrCapabilities.AllowViewflag must be set for a field to be present in the schema associated to aGEToperation. - The
AttrCapabilities. AllowCreateflag must be set for a field to be present in the schema associated to aPOSToperation. - The
AttrCapabilities.AllowChangeflag must be set for a field to be present in the schema associated to aPATCHoperation.
These flags are currently already parsed in the custom schema generation of the current integration, but thorough testing is required.
~Note that filter/sort-ability/can-include are out of scope as this requires query parameters to be implemented, see #1058.~
This should include relationship capabilities as well.