You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
It don't think it would make sense to add support for num (same for List, Map & user defined objects) because you'll always get a String back. To support this usages the users should use a (de)serialization library.
Currently, setting non-string values to Cookies like
cookies['a'] = 3
silently steps over due to:https://github.com/angular/angular.dart/blob/b43de31d2a9f1c0274f659ada77714e63a6d0c6a/lib/core_dom/cookies.dart#L78
This has already confused somebody:
http://stackoverflow.com/questions/23051222/how-to-use-cookies-in-angulardart
We should either take any value and call toString() or annotate the appropriate methods with String so static type checking catches this.
The text was updated successfully, but these errors were encountered: