Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support jsonapi standards, as seen on jsonapi.org #394

Open
utf4 opened this issue Oct 26, 2016 · 0 comments
Open

Support jsonapi standards, as seen on jsonapi.org #394

utf4 opened this issue Oct 26, 2016 · 0 comments

Comments

@utf4
Copy link

utf4 commented Oct 26, 2016

I was looking for JsonApi.org request and response format support in all of four actions (CRUD) while using restmod. I am seeing that "relationships" tag in json is not handled by response decoder and is placed as it is in resource object.

{
  "data": {
    "type": "articles",
    "id": "1",
    "attributes": {
    },
    "relationships": {
      // ... this is not being handled properly and left as it is in response
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant