-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Improve dot notation for updating nested objects #729
Conversation
Codecov Report
@@ Coverage Diff @@
## master #729 +/- ##
==========================================
+ Coverage 88.59% 88.64% +0.05%
==========================================
Files 53 53
Lines 4541 4562 +21
Branches 1054 1060 +6
==========================================
+ Hits 4023 4044 +21
Misses 518 518
Continue to review full report at Codecov.
|
@flovilmart This test case works for PG also |
Well, there is to test also all the other cases: setting a value on ‘key.path’ and increment when it’s not an object stored behind, unset(‘key.path’) etc... Sent with GitHawk |
I am very worry bad things will happen with that much decoupling but if you beliebe this is ‘needed’ go ahead Sent with GitHawk |
@flovilmart I did run into two issues with this. You can't set or update nested documents on new objects.
If field exist the local data doesn't update until saved Don't know much about internal states of parse objects to update local data
|
Do what you feel is best Sent with GitHawk |
@flovilmart I resolved both issues I stated on the client side. Can you look this over? |
I still have bad feelings about this, but go ahead. Sent with GitHawk |
Thanks! I’m going to play around with it more. There a lot of features that use |
No description provided.