-
-
Notifications
You must be signed in to change notification settings - Fork 598
fix: subscription to a LiveQuery containing ParseQuery.select
overrides properties
#1488
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
Conversation
Thanks for opening this pull request!
|
Codecov Report
@@ Coverage Diff @@
## alpha #1488 +/- ##
=======================================
Coverage 99.94% 99.94%
=======================================
Files 61 61
Lines 5954 5955 +1
Branches 1357 1358 +1
=======================================
+ Hits 5951 5952 +1
Misses 3 3
Continue to review full report at Codecov.
|
…ght by query.subscribe" This reverts commit 3073b77.
query.select
query.select
Parse.Query.select
Parse.Query.select
ParseQuery.select
ParseQuery.select
ParseQuery.select
I will reformat the title to use the proper commit message syntax. |
ParseQuery.select
ParseQuery.select
ParseQuery.select
ParseQuery.select
overrides properties
ParseQuery.select
overrides propertiesParseQuery.select
overrides properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good; waiting or #1487 (comment) to resolve before merge
## [3.4.3-alpha.3](3.4.3-alpha.2...3.4.3-alpha.3) (2022-07-02) ### Bug Fixes * subscription to a LiveQuery containing `ParseQuery.select` overrides properties ([#1488](#1488)) ([b80eee4](b80eee4))
🎉 This change has been released in version 3.4.3-alpha.3 |
Thanks all! |
## [3.4.4-beta.1](3.4.3...3.4.4-beta.1) (2022-07-02) ### Bug Fixes * subscription to a LiveQuery containing `ParseQuery.select` overrides properties ([#1488](#1488)) ([b80eee4](b80eee4))
🎉 This change has been released in version 3.4.4-beta.1 |
🎉 This change has been released in version 3.4.4-alpha.1 |
## [3.4.4](3.4.3...3.4.4) (2022-09-02) ### Bug Fixes * subscription to a LiveQuery containing `ParseQuery.select` overrides properties ([#1488](#1488)) ([b80eee4](b80eee4))
🎉 This change has been released in version 3.4.4 |
## [3.4.3-alpha.3](parse-community/Parse-SDK-JS@3.4.3-alpha.2...3.4.3-alpha.3) (2022-07-02) ### Bug Fixes * subscription to a LiveQuery containing `ParseQuery.select` overrides properties ([parse-community#1488](parse-community#1488)) ([b80eee4](parse-community@b80eee4))
## [3.4.4-beta.1](parse-community/Parse-SDK-JS@3.4.3...3.4.4-beta.1) (2022-07-02) ### Bug Fixes * subscription to a LiveQuery containing `ParseQuery.select` overrides properties ([parse-community#1488](parse-community#1488)) ([b80eee4](parse-community@b80eee4))
New Pull Request Checklist
Issue Description
When using
.select
with LQ, the Parse JS SDK strips out all keys on objects that have the same reference.Related issue: #1487
Approach
If
.select
is used in the LQ query, don't set all keys to undefined.TODOs before merging