-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Switch to using zod for validation for patch endpoint. #1579
Conversation
Victor-M-Giraldo
commented
Mar 28, 2024
- Related Integrate zod for HTTP request validation #1385
Important Auto Review SkippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the 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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
I think this is in the right direction. Would just like some feedback before I continue |
Just giving an update on this one. Still working on it, I'm aware I need to narrow the type down but I'm also encountering an issue after I do that. It's a WIP though. Also, I know you said there are some endpoints just with the querys from the URL. What file are those in? Can't find them and I figure I might work on them since they might be easier than this one. |
IIRC the only endpoint that uses query params is |
As discussed offline: for handling probably something like
be careful to not add it if it doesn't exist on the body |
I know you said not to do |
Still need to fix tests. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1579 +/- ##
================================================
+ Coverage 56.3149% 62.8078% +6.4928%
================================================
Files 164 168 +4
Lines 25004 24852 -152
Branches 1441 1444 +3
================================================
+ Hits 14081 15609 +1528
+ Misses 10869 9190 -1679
+ Partials 54 53 -1 ☔ View full report in Codecov by Sentry. |
Passing run #1896 ↗︎Details:
Review all test suite changes for PR #1579 ↗︎ |