You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, update requests only partially support per-request overlays. It is possible to redefine read / write policies of the root entity properties, but the following doesn't work:
request parsing happens in the context of the common schema, so produced EntityUpdates do not reference overlaid AgEntities
Model request overlays as a single object that can be shared between read and write code (e.g. RequestSchema)
(a big breaking change !!, but with meaningful deprecation) Make EntityUpdate more "opaque", with only parsed JSON and root Java class, but no attribute / relationship classification. For backwards compatibility deprecate EntityUpdate, but keep supporting it. Instead recommend binding updates to a new opaque ObjectUpdate object that only contains the declared entity type and a JSON blob. This way overlays can be defined before parsing.
Update OpenAPI adapters to handle ObjectUpdate.
The text was updated successfully, but these errors were encountered:
Resolving entity parent via the RequestSchema instead of global schema.
However note that overly "creative" use of custom overlays on parent
IDs may result in issues similar to #213
Currently, update requests only partially support per-request overlays. It is possible to redefine read / write policies of the root entity properties, but the following doesn't work:
A few things we can do to handle this properly:
RequestSchema
)ObjectUpdate
object that only contains the declared entity type and a JSON blob. This way overlays can be defined before parsing.ObjectUpdate
.The text was updated successfully, but these errors were encountered: