-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
don't throw exception when assign a primitive value to @observable.shallow? #1336
Comments
It doesn't make sense to use |
@jamiewinder you may not know the type of the value during definition ... the |
the requirement is exactly as @jamiewinder pointed out! |
maybe not to make assumption in api can lead to better api? just provide reasonable defaults and leave room for customization. |
Closing in favor of the discussion in #1316, which basically makes the same point :) |
or make @observale shallow by default?
The text was updated successfully, but these errors were encountered: