-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: Created a Query for OrganizationPosts . #3493
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: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: imanishx <[email protected]>
Signed-off-by: imanishx <[email protected]>
Signed-off-by: imanishx <[email protected]>
Signed-off-by: imanishx <[email protected]>
WalkthroughThe changes introduce enhancements to the GraphQL schema, particularly for event and organization post querying. A new input schema and GraphQL input type for filtering organization posts are added, along with improvements to event-related fields for clarity and consistency. A new development dependency is added to the project. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant GraphQL API
participant OrganizationResolver
participant Database
Client->>GraphQL API: Query Organization.Orgposts(first, skip, where)
GraphQL API->>OrganizationResolver: Resolve Orgposts with input args
OrganizationResolver->>Database: Fetch posts with pagination and filters (where)
Database-->>OrganizationResolver: Return filtered posts
OrganizationResolver-->>GraphQL API: Return posts
GraphQL API-->>Client: Respond with posts
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (296)
📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (9)
✨ Finishing Touches
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
Documentation and Community
|
Our Pull Request Approval ProcessThanks for contributing! Testing Your CodeRemember, your PRs won't be reviewed until these criteria are met:
Our policies make our code better. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3493 +/- ##
============================================
- Coverage 98.17% 59.86% -38.32%
============================================
Files 184 526 +342
Lines 10767 41065 +30298
Branches 835 1815 +980
============================================
+ Hits 10571 24584 +14013
- Misses 186 16471 +16285
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@palisadoes @disha1202 @noman2002 Please review |
This pull request did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please verify it has no conflicts with the develop branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work. |
What kind of change does this PR introduce?
Feature
Issue Number: #3472
Fixes #
Snapshots/Videos: N/A
If relevant, did you update the documentation?
Summary
OrgnizationPost.ts
an inline Query which is a offset based pagination to retrieve all the posts of an organization .Does this PR introduce a breaking change?
No
Checklist
CodeRabbit AI Review
Test Coverage
Other information
Have you read the contributing guide?
Summary by CodeRabbit