Closed unr closed 11 years ago
I am planning on bringing EPF up to 1.0 today.
Cheers! Looking forward to the update.
Let me know if there's anything we can do to help bring EPF up to 1.0
@ghempton Great to see the 1.0 update pushed out so fast. After updating our bower dependancy, and running the build, I'm getting an odd error.
It's telling me that Ep.RestAdapter has no method map. Therefore, can't do any of my Ep.RestAdapter.map() for embedded:always.
Any thoughts on why?
edit: Going through your commit history, I see you've removed the Mappable mixin - and switched to using this.configs.
However, can't figure out what sort of convention to be using in the configs property. Halp?
And, closing this ticket now. I've found out you can set it up using:
App.ProjectSerializer = Ep.RestSerializer.extend
properties:
phases: {embedded: 'always'}
Again, thanks for updating so quickly.
Glad you found that out! I am going to create a guides sections soon.
Hey guys,
Ember finally seems to have upgraded to 1.0 - and as such we've upgraded our application. After doing so, EPF seems to no longer automatically create child objects.
We have two models:
As well, in our adapter, we have:
Previously, when using EmberRC6 - calling
@session.query('projects')
would build the list of projects, as well as the child phases.After upgrading, it no longer automatically creates the child phases.
If I call App.Phase.find(1) while viewing my list of projects, it will create the phase and it will now show inline. Why does this not automatically happen anymore?
Any thoughts on how to get around this?