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

[CHORE] Use model name instead of store in isPrimaryType #6338

Merged
merged 2 commits into from
Aug 20, 2019

Conversation

ansmonjol
Copy link

@ansmonjol ansmonjol commented Aug 16, 2019

Update rest serializer isPrimaryType to not use store anymore.

Closes #5809

Copy link
Contributor

@runspired runspired left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall a huge thanks! A small fix is needed.

packages/serializer/addon/rest.js Outdated Show resolved Hide resolved
@runspired runspired added the 🌲 Project Trim 🌲 PRs related to https://github.com/emberjs/data/issues/6166 label Aug 20, 2019
@runspired runspired merged commit a33d8ea into emberjs:master Aug 20, 2019
runspired added a commit that referenced this pull request Aug 20, 2019
runspired added a commit that referenced this pull request Aug 20, 2019
Gaurav0 pushed a commit to Gaurav0/data that referenced this pull request Dec 2, 2019
* Use model name instead of store in isPrimaryType

* Fix property naming error
runspired pushed a commit that referenced this pull request Dec 2, 2019
* [CHORE] Use model name instead of store in isPrimaryType (#6338)

* Use model name instead of store in isPrimaryType

* Fix property naming error

* fix tests

* deprecate old private method rather than deleting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌲 Project Trim 🌲 PRs related to https://github.com/emberjs/data/issues/6166
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rest Serializer isPrimaryType should not use store.modelFor
2 participants