-
-
Notifications
You must be signed in to change notification settings - Fork 402
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: support declaring DTOField
via Annotated
#3289
Conversation
E.g.: ```py class A(Struct): a: Annotated[int, dto_field("read_only")] ``` For #2351
Co-authored-by: Jacob Coffee <[email protected]>
ac7eb4b
to
16aa52c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3289 +/- ##
========================================
Coverage 98.25% 98.25%
========================================
Files 322 322
Lines 14684 14699 +15
Branches 2335 2339 +4
========================================
+ Hits 14428 14443 +15
Misses 117 117
Partials 139 139 ☔ View full report in Codecov by Sentry. |
16aa52c
to
b332b50
Compare
b332b50
to
44559e3
Compare
|
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3289 |
Description
E.g.:
Deprecates passing DTOField via pydantic extra, e.g., no longer supported:
Closes
Closes #2351