EmberJS DataStore adapter that supports HATEOAS

I am creating an application that I really would like to be RESTful that follows the HATEOAS requirements of REST. On the front end, I look at using Ember because it is similar to how I like to create front-end applications. Unfortunately, the built-in REST DataSource Adapter does not seem to understand how to navigate the APIs that follow HATEOAS. I should specify the data in terms of identifiers, and not through the URL.

Google doesn't help me - Does anyone know about a data adapter that supports HATEOAS? If not, I will try to create it, but I do not want to waste time!

+6
source share
1 answer

Ember Data strives to follow the JSON API specification, which is out of the formats that the REST adapter should use.

There are two formats , and while the ID format requires the client to have hard-coded URLs for resources, the format-based URL works with URL patterns to directly include links in views.

0
source

All Articles