-
Notifications
You must be signed in to change notification settings - Fork 103
Create a new project for consuming data with Javascript #103
Comments
On Twitter @mattgrill mentioned that waterwheel.js already has JSON API support, and is planning to support sub-requests. |
I did not try waterwheel with contenta : I thought it was only working with core REST module and not JSON API standard. Maybe we should start here ... |
I filed acquia/waterwheel.js#60 to potentially add resource modeling to Waterwheel |
I'm currently switching to waterwheel instead of "d8-jsonapi-querystring" npm package on contenta_vue_nuxt. I keep using "jsonapi-parse" npm package to resolve relationships / included objects. |
Would it make sense to move the parser into waterwheel? |
I mentioned it in acquia/waterwheel.js#60, it would be a good first step to get everyone using it. |
I did the full switch now, works very well : https://contentavuedemo.github.io/ |
That looks like a nice resolution. |
Looking at the example consumers for this project, there have been a few attempts at parsing JSON API data coming from contenta_jsonapi:
The various consumers are welcome to query JSON API data in any way they choose - but what do we recommend for developers starting new projects with Contenta?
I propose that we create a new project either documenting best practices for making requests to Contenta, or providing a generic service that everyone can use.
Here are some example requirements for a consumer-solution, which we can discuss and redefine here:
recipe.save()
orrecipe.image.uri
should be possible.The text was updated successfully, but these errors were encountered: