Skip to content

Fix: a resource can't have an attribute or relationship named type or id #1171

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

Merged

Conversation

meyerbaptiste
Copy link
Contributor

According with the latest specification (v1.0):

Fields for a resource object MUST share a common namespace with each other and with type and id. In other words, a resource can not have an attribute and relationship with the same name, nor can it have an attribute or relationship named type or id.

@meyerbaptiste meyerbaptiste changed the title Fix: a resource can not have an attribute or relationship named type or id Fix: a resource can't have an attribute or relationship named type or id May 24, 2017
@meyerbaptiste meyerbaptiste force-pushed the fix_bad_values_attributes_relationships branch from a5dbba3 to 92fd782 Compare May 24, 2017 09:19
@dgeb dgeb merged commit 2554623 into json-api:gh-pages Jun 27, 2017
@dgeb
Copy link
Member

dgeb commented Jun 27, 2017

Good catch - thanks!

@meyerbaptiste meyerbaptiste deleted the fix_bad_values_attributes_relationships branch August 4, 2017 14:17
elliotttf added a commit to elliotttf/jsonapi-validator that referenced this pull request Aug 8, 2017
eq19 pushed a commit to WeakPositive/WeakPositive.github.io that referenced this pull request May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy