agrestio / agrest

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

New select/update stage: ENCODE #512

Closed andrus closed 2 years ago

andrus commented 2 years ago

Let's move encoder creation from APPLY_SERVER_PARAMETERS to a new stage at the end of the select and update pipeline called ENCODE. This is both more logical (encoding happens after the data is fetched) and helps to initialize encoders that rely on pluggable backend (such as Cayenne) logic applied to ResourceEntity tree.