dart-archive / polymer-dart

Polymer support for Dart
https://pub.dartlang.org/packages/polymer
BSD 3-Clause "New" or "Revised" License
181 stars 33 forks source link

JsProxy fields should be enumerable? #618

Open jakemac53 opened 8 years ago

jakemac53 commented 8 years ago

Today they are not, but they probably should be (or at least I don't see a reason why not).

One potential issue, on the JS side they may try to JSON encode these objects, and then JSON decode them back. The object they get back won't be tied to a dart object or type any more, so its going to act just like a normal js object and get converted to a dart map. Today they will just get an empty object since the fields aren't enumerable, so at least it kind of throws up a red flag that something is not working as expected.

vimalraj-a commented 8 years ago

This issue been created since 50 days before..... Still no one assigned to this?

Any idea when this can be resolved. Seems I cannot use Firebase-Collection polymer element.

Please fix this issue.