-
Notifications
You must be signed in to change notification settings - Fork 79
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
add Search_Config validation #2811
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughThis pull request introduces a new error variable Changes
Sequence DiagramsequenceDiagram
participant Caller
participant Handler
participant ErrorHandling
Caller->>Handler: Call with search configuration
alt Nil Configuration
Handler->>ErrorHandling: Check configuration
ErrorHandling-->>Handler: Return ErrNilSearch_Config
Handler-->>Caller: Return error
else Valid Configuration
Handler->>Handler: Proceed with search
end
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms (30)
🔇 Additional comments (3)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
eb8e500
to
434d801
Compare
Deploying vald with Cloudflare Pages
|
[CHATOPS:HELP] ChatOps commands.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2811 +/- ##
==========================================
- Coverage 23.93% 23.93% -0.01%
==========================================
Files 546 546
Lines 54555 54578 +23
==========================================
+ Hits 13058 13063 +5
- Misses 40712 40731 +19
+ Partials 785 784 -1 ☔ View full report in Codecov by Sentry. |
Profile Report
|
Description
Search_Config is required field for Search request.
However, it might be forget to set a Search_Config value, unintentionally.
Add Search_Config validation gateway and return error response from it.
Related Issue
Versions
Checklist
Special notes for your reviewer
Summary by CodeRabbit
New Features
ErrNilSearch_Config
to handle nil search configuration scenariosBug Fixes
Improvements