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

EmberFire.Array instances coerced into plain objects when edited #4

Closed
claudeprecourt opened this issue Nov 8, 2013 · 2 comments
Closed

Comments

@claudeprecourt
Copy link

Instances coming from an EmberFire.Array are coerced into plain objects when one of their properties is changed through Ember's binding system.

The problem is easy to reproduce. All you need to do is change a property on the model which has been passed automatically to the instance-level route (ex.: /posts/:post_id) by the array-level route (ex.: /posts).

Here's a JSBin showing the problem:

http://jsbin.com/inUROrO/5/edit

-C

@matthewrudy
Copy link

@anantn
Copy link
Contributor

anantn commented Nov 11, 2013

Thanks for the report - we'll either merge in PR #6 or #7 to address this issue (thanks @matthewrudy!)

@anantn anantn closed this as completed Nov 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants