Skip to content
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: hidden body field support #328

Merged

Conversation

bekabaz
Copy link
Contributor

@bekabaz bekabaz commented Mar 21, 2024

Attempting to address #327 which will allow the use of the hidden validation tag on Body fields. To avoid double checking of the hidden tag, I moved the existing check from findParams() to only be in SchemaFromField(). All existing tests are passing, however I am not familiar enough with the entire repository to guarantee correctness. Any feedback is welcome.

Fixes #327.

@danielgtaylor danielgtaylor changed the title Feature/hidden body field support feat: hidden body field support Mar 22, 2024
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.29%. Comparing base (53aac0f) to head (e14b517).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #328   +/-   ##
=======================================
  Coverage   95.28%   95.29%           
=======================================
  Files          19       19           
  Lines        2823     2825    +2     
=======================================
+ Hits         2690     2692    +2     
  Misses         97       97           
  Partials       36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@danielgtaylor danielgtaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍🏻

@danielgtaylor danielgtaylor merged commit 53e05ba into danielgtaylor:main Mar 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hidden:"true" not working as expected
2 participants