Skip to content
New issue

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

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

Already on GitHub? # to your account

extractRelationship extractId is called without passing the relationship modelClass #50

Open
makepanic opened this issue Feb 14, 2017 · 1 comment · May be fixed by #51
Open

extractRelationship extractId is called without passing the relationship modelClass #50

makepanic opened this issue Feb 14, 2017 · 1 comment · May be fixed by #51

Comments

@makepanic
Copy link
Contributor

I don't know if it's expected behavior but we have access to the relationship modelClass so why not pass it to extractId?

https://github.com/201-created/ember-data-hal-9000/blob/master/addon/mixin.js#L205

makepanic added a commit to makepanic/ember-data-hal-9000 that referenced this issue Feb 14, 2017
makepanic added a commit to makepanic/ember-data-hal-9000 that referenced this issue Feb 14, 2017
@Ramblurr
Copy link

Yup, I had to override the mixin function manually to get this. Would be useful.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants