Skip to content

REST API - Subentities #1767

Answered by yorek
Tom-Vroemen asked this question in Q&A
Oct 3, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

In DAB, REST API does not support relationship navigation. If you want to take advantage of relationships you need to use GraphQL (which is a REST operation anyway, more specifically is a POST operation).

The reason behind this decision was that REST should be simple and not re-invent the wheel (and yet another standard). If people really want to do complex stuff with REST, we'll need to evaluate the adoption of OData as additional protocol. Otherwise GraphQL should cover pretty much all the use cases.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tom-Vroemen
Comment options

Answer selected by Tom-Vroemen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants