-
-
Notifications
You must be signed in to change notification settings - Fork 207
feat: Add installationId
in LiveQuery connect
#976
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
feat: Add installationId
in LiveQuery connect
#976
Conversation
I will reformat the title to use the proper commit message syntax. |
installationId
in LiveQuery connectinstallationId
in LiveQuery connect
Thanks for opening this pull request! |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #976 +/- ##
==========================================
+ Coverage 40.60% 44.12% +3.51%
==========================================
Files 60 60
Lines 3401 3404 +3
==========================================
+ Hits 1381 1502 +121
+ Misses 2020 1902 -118
☔ View full report in Codecov by Sentry. |
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.
Could you add a test?
These additional items are in a private function, it is also for socket operation and cannot be tested. |
Not sure I understand; why do you think it cannot be tested? |
Changes in this function. This function is a private function. It cannot be accessed from outside. |
Is it not possible to access a private function in tests? How are all the LiveQuery features then tested? |
There are currently no tests for |
Interesting. It should be easily possible to test an internal method. Can't you just reference the internal method directly in the test file, mock |
I did not test with |
Test added |
Congrats for adding the first live query test! |
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 for CI to pass...
This should be optional since, it breaks live query when using lower versions of parse server. |
@maravilhosinga could you please open a new issue and provide more specifics about what's breaking? |
Pull Request
Issue
Closes: #975
Approach
add
installationId
in LiveQueryconnect
.Tasks