Json api provides a way to shape both the request and the response from http requests that takes away the guess work when creating and consuming resources.
However, while doing http request there are several repetitive parts that, although necessary, just get in the way.
Kitsu provides a very good design for creating queries and headers.
A possible way to use it in Clojurescript would be
This is heavily inspired by:
Json api provides a way to shape both the request and the response from http requests that takes away the guess work when creating and consuming resources.
However, while doing http request there are several repetitive parts that, although necessary, just get in the way.
Kitsu
provides a very good design for creating queries and headers.A possible way to use it in Clojurescript would be
A couple of remarks from the previous snippet
related to: https://github.com/hiposfer/kamal/issues/164