Aliaksei Taliuk’s Post

🚀 Excited to share that JsonApi4j 1.4.0 is now live!  👉 https://lnkd.in/esH-K9AR This release adds support for JSON:API Compound Documents (https://lnkd.in/efzDhj5W) as a pluggable module. JSON:API's Compound Documents let you fetch a resource(s) and all 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. Just add the plugin dependency, and your API can handle requests like: "/users/123?include=relatives.relatives&include=placeOfBirth"  → Fetch a user → Their relatives (users). And relatives of those relatives (users) → And the user’s place of birth (countries) All in one request. You can fine-tune how relationships are resolved and fetched via configuration, with built-in and configurable guardrails. --- JsonApi4j is an open-source framework for building APIs aligned with the JSON:API specification, with a strong focus on developer productivity and clean architecture. If you're looking for a structured and flexible way to expose JSON:API endpoints — give it a try. Feedback and contributions are always welcome! 🙌 #java #jsonapi #opensource #api

To view or add a comment, sign in

Explore content categories