Aug 28, 2017 · 1 min read
Fractal has json:api transformation layer out of the box but it has limitations with type naming and links generation because they are tightly coupled. Resource types equals to URI resource representation. If you are using singular types you can’t have plural links. For example when you have ArticlesResource and want it to be represented as type of “article” in response you will have /article/{articleId} in your API endpoints although json:api specification allows to have singular types and plural URIs.
I’ve found one more open source alternative which designed to work only for json:api and looks very promising: https://github.com/tobscure/json-api
Maybe you’ll find it useful!
