Release 1.4.0: JSON:API Compound Documents Plugin. #99
MoonWorm
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This release introduces support for JSON:API Compound Documents.
The feature is implemented as a pluggable module — simply add the dependency:
and configure how related resources are resolved and fetched via your application configuration.
JSON:API's compound documents let you fetch a resource and all its related data in one request, eliminating extra round-trips and keeping everything perfectly consistent. It's a powerful way to deliver rich, interconnected data graphs efficiently - like getting an entire object tree in a single, clean response.
The Compound Documents resolver is also available as a separate lightweight module with virtually no third-party dependencies. It can be used outside of JsonApi4j services - for example, at the API Gateway layer, where compound document resolution may be handled in certain architectures:
Release notes: https://github.com/MoonWorm/jsonapi4j/releases/tag/v1.4.0
Documentation: https://api4.pro/
Beta Was this translation helpful? Give feedback.
All reactions