-
Notifications
You must be signed in to change notification settings - Fork 49
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
Update to ember 1.13 serializer api. #114
Conversation
3ea7a77
to
165449a
Compare
881b5dc
to
96e4e79
Compare
I'll work on updating the docs tomorrow morning. |
af61ff4
to
f9e0b88
Compare
@benkonrath we currently do not test against the canary ember-data version in CI |
@benkonrath oops, nvm my last comment, see you did that already :) |
@holandes22 I have 2 test cases: ED 1.13.5 / E 1.12.1 and ED 1.13.5 / E 1.13.4. I didn't think it made sense to test against canary for our 1.0 release. |
I mentioned it since the changes you are making should make it work with the next version of ember-data (2.0). I think I made a mistake and called it canary and it is actually Beta. Anyway, my idea was to also test against 2.0 as it should work with your modifications |
@holandes22 The tests didn't pass with ember data and ember beta so I haven't included it in the test matrix. |
Some notes on this update:
|
1ea5b3c
to
2aebc28
Compare
Embedded records seems to be broken. |
Ok, I guess we should add a test for that. I'll check it out tomorrow. |
Looks like a bug in ED emberjs/data#3549 |
Thanks for finding that. I guess we have to wait for a new release before we can get this merged in. |
Yeah. Looks like a fix was merged yesterday: emberjs/data#3550 Just need a point release. |
e195645
to
fa4bbf5
Compare
ED 1.13.6 is out and it looks like it has the bugfix we need |
I can't grab it with bower yet. I'll update to ED 1.13.6 once I can. |
@benkonrath seems have been updated a couple of minutes ago. |
3bbce02
to
106942d
Compare
@jpadilla Thanks! I've updated the PR. |
I'm having problems with the embedded records still. I'll investigate in a bit. I've updated the tests to expose the problem. |
5a5a180
to
a625340
Compare
I made a mistake in the test. But the embedded record for |
a625340
to
b6b1081
Compare
I get this message in my app when trying to load a
Everything is setup just like the test case. If I change to |
The embedded records are in records that are async loaded so that might be causing the problem. The ids that are being retrieved when I change to |
d7c798c
to
e55c629
Compare
User error! It's working ... I didn't update ember-data to 1.13.6 properly. :) It's ready for review. |
Awesome! I'll give it a try today |
Works beautifully on my end. Stellar work, as always! @holandes22 please merge when ready. |
Works perfectly for me too. Amazing work, thank you! |
Update to ember 1.13 serializer api.
Great stuff. Working for me too. |
Awesomeness! Thanks! |
I still need to update the documentation.
There is one remaining deprecation warning but it is an application level warning so I don't think we should override this function in EDA.
closes #110
closes #111