This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
angular.copy does not support circular reference #2618
Comments
I am having the same issue, how did you end up dealing with this? |
It would be nice if this could be solved, bumped into this the third time in a few months. |
Angular relies on
|
Before to close this issue, it would be best to improve the documentation. |
@tkrotoff PR welcome. :) |
I believe this is fixed by #7618 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As titled and demonstrated here:
http://plnkr.co/edit/dRYPgyi9ITdaEFABJFBB?p=preview
JSON.stringify/angular.copy both fail on circular references, while other implementations of clone do not.
Also, is there some reason shallowCopy isn't exposed via publishExternalAPI like copy is?
The text was updated successfully, but these errors were encountered: