Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$ prefixed properties sended from the server are filtered in the ngResource ver >= 1.2.6 #5665

Closed
atomrc opened this issue Jan 7, 2014 · 2 comments

Comments

@atomrc
Copy link
Contributor

atomrc commented Jan 7, 2014

Some of my resources, retrieved from the server, has some '$' prefixed properties. With angular >= 1.2.6 those properties are filtered when the resource is requested against the server (I think it might occurs on the shallowClearAndCopy function).

I know using '$' prefixed properties is not a good idea as they have a specific signification for angular, but what can I do when the server is using and sending those properties ?
Is there a real interest in filtering those properties when the resource is created ?

@atomrc
Copy link
Contributor Author

atomrc commented Jan 7, 2014

I did a PR to fix this : #5666

@ghost ghost assigned vojtajina Jan 8, 2014
@Narretz
Copy link
Contributor

Narretz commented Jul 7, 2014

Fixed in d2e4e49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants