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: sanitize Piccolo columns with secret=True from PydanticDTO output #3030
feat: sanitize Piccolo columns with secret=True from PydanticDTO output #3030
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @patrickneise!
27f8fef
to
c317ec4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3030 +/- ##
========================================
Coverage 98.26% 98.26%
========================================
Files 317 317
Lines 14273 14274 +1
Branches 2458 2458
========================================
+ Hits 14025 14026 +1
Misses 107 107
Partials 141 141 ☔ View full report in Codecov by Sentry. |
@all-contributors add @patrickneise for code |
I've put up a pull request to add @patrickneise! 🎉 |
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3030 |
…ut (#3030) * feature(piccolo): sanitize columns with from PydanticDTO output * feature(piccolo): modify logic to assign to secret columns --------- Co-authored-by: Patrick Neise <neise.patrick@solute.us>
…ut (#3030) * feature(piccolo): sanitize columns with from PydanticDTO output * feature(piccolo): modify logic to assign to secret columns --------- Co-authored-by: Patrick Neise <neise.patrick@solute.us>
…ut (#3030) * feature(piccolo): sanitize columns with from PydanticDTO output * feature(piccolo): modify logic to assign to secret columns --------- Co-authored-by: Patrick Neise <neise.patrick@solute.us>
…ut (#3030) * feature(piccolo): sanitize columns with from PydanticDTO output * feature(piccolo): modify logic to assign to secret columns --------- Co-authored-by: Patrick Neise <neise.patrick@solute.us>
…ut (#3030) * feature(piccolo): sanitize columns with from PydanticDTO output * feature(piccolo): modify logic to assign to secret columns --------- Co-authored-by: Patrick Neise <neise.patrick@solute.us>
…ut (#3030) * feature(piccolo): sanitize columns with from PydanticDTO output * feature(piccolo): modify logic to assign to secret columns --------- Co-authored-by: Patrick Neise <neise.patrick@solute.us>
Pull Request Checklist
Description
For Picollo columns with
secret=True
set, mark those columns asWRITE_ONLY
to prevent the column being included inreturn_dto
.Close Issue(s)
Closes #2976