contentacms/contenta_vue_nuxt

Rewrite in a clean way DrupalJSONAPIQueryString.js

yann-yinn opened this issue · 8 comments

add some recursivity + enhance units tests with a more complex query

edit : now a npm package https://www.npmjs.com/package/d8-jsonapi-querystring

Is this something which could be published as a npm package? This could be useful for other implementations as well, I assume?

@dawehner well i guess there is already an existing package that does that, i have to check :-p

If not, it may be useful for others JS clients to published it as package

Maybe i miss it but did not found a existing npm package that do this : https://www.npmjs.com/browse/keyword/jsonapi

Rewritten with a fully recursive function + unit test fixed