Closed melindaweathers closed 8 years ago
Thank you for your kind effort, @melindaweathers.
I confirm that tests fail in modern Ember Data and your fix makes them pass again.
For me to accept your PR, please do the following:
PS So happy to receive a legit PR for my addon! :heart_eyes:
Ember-data 1.13.4 looks like the latest stable version as per https://github.com/emberjs/data/blob/master/CHANGELOG.md, but I'm not having much luck getting the tests to run on that version unfortunately.
Hmm, tests do work for me, though there's strange delay.
Ah, I'm wrong. One of the tests would stall forever in the ember test
mode. And in ember s
mode the test GUI displays an error:
Uncaught TypeError: serializer.get is not a function
coming from Ember Data.
This seems to be a fixed bug in Ember Data, see this commit.
So we might need to wait for another Ember Data release.
Also, there's quite a number of deprecations which should be fixed in order to release an up-to-date version of Stained.
Unfortunately, I will not get to work on it anywhere soon, currently stuck in a messy Angular project. :(
Yeah, I was hitting the serializer.get
error. Waiting for a new version of ember-data sounds like a good idea.
I'll go ahead and squash my commits incase you wind up wanting to pull them in to work with the beta-19 series. If not, I'll try and take another swing at it when the new version comes out!
Fix for https://github.com/lolmaus/ember-cli-stained-by-children/issues/11
I verified that this fixes the tests for beta 19.2 (and that they are broken without it)