jbuilder-json_api
jbuilder-json_api copied to clipboard
Jbuilder meets jsonapi.org specifications
Hey there thanks for making this! Just wanted to point out (and maybe I'm missing something) but when I have a route like `/users/:id/tickets` the self link being generated is...
First of all, thanks for this gem! will definitely make life a bit easier. Second, using a json-api validator: https://www.npmjs.com/package/jsonapi-validator I found that the generated code is invalid due to...
It appears that resources can only be returned as arrays using the json.api_format! method, even for a single resource object, is this the intended behavior? --- When I'm returning a...
If user doesn't write `json_api_attrs` or `json_api_relations`, try to get them automatically. May be connecting with other gems like CanCan :suspect:
- [ ] `rescue` w/o `begin` (https://github.com/vladfaust/jbuilder-json_api/pull/2#discussion_r52972561) - [ ] improve this `Exception => e` (https://robots.thoughtbot.com/rescue-standarderror-not-exception) - [ ] parse links in a much proper way. I was drunk when...