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

[BUGFIX beta] Support JSON API links object #3764

Merged
merged 1 commit into from
Sep 16, 2015

Conversation

wecc
Copy link
Contributor

@wecc wecc commented Sep 13, 2015

This PR introduces a private helper called _normalizeLinks that accepts a string or an object and returns an normalized "links object", see http://jsonapi.org/format/#document-links

Currently this helper is only used in the store's setupRelationships but we should probably have links objects reach further down in ED in the future (store => relationship => adapter) to allow access to meta and additional information on the links object.

Fixes #3588

@bmac
Copy link
Member

bmac commented Sep 16, 2015

Looks good. 👍

bmac added a commit that referenced this pull request Sep 16, 2015
[BUGFIX beta] Support JSON API links object
@bmac bmac merged commit 3c49936 into emberjs:master Sep 16, 2015
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.

None yet

2 participants