-
-
Notifications
You must be signed in to change notification settings - Fork 598
feat: Add support for Parse.Query.include
in LiveQuery
#2694
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
base: alpha
Are you sure you want to change the base?
Conversation
🚀 Thanks for opening this pull request! |
Warning Rate limit exceeded@mtrezza has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 18 minutes and 32 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughSupport for the Changes
Sequence Diagram(s)sequenceDiagram
participant Client as LiveQueryClient
participant Server as LiveQuery Server
Client->>Client: Parse query JSON, extract 'include'
Client->>Server: Send subscription request with query (includes 'include' array)
Server-->>Client: Acknowledge subscription or send data
sequenceDiagram
participant Test as Test Suite
participant Client as LiveQueryClient
participant Server as Mock WebSocket
Test->>Client: Construct ParseQuery with include(['key'])
Client->>Server: Send subscription payload (contains include: ['key'])
Test->>Server: Assert payload includes 'include' field
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #2694 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 63 63
Lines 6185 6187 +2
Branches 1456 1456
=========================================
+ Hits 6185 6187 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pull Request
Issue
Add support for
Parse.Query.include
in LiveQuery. Requires a Parse Server version that also supports this, see parse-community/parse-server#9827.Approach
Pass include param on to server.
Summary by CodeRabbit
New Features
include
field in live query subscriptions, allowing related data to be included in real-time updates.Tests
include
field in live query subscription payloads.