agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
80 stars 34 forks source link

Optimize and clean up update parser #633

Closed andrus closed 1 year ago

andrus commented 1 year ago

Let's optimize IUpdateRequestParser (ex. IEntityUpdateParser), to avoid metadata resolving on the fly per-update. Also clean up the code, and tighten supported syntax. Specifically we should NOT support to-one relationship ids passed as arrays: {"toOne":[1]}