-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
#2367
Conversation
c9b14f4
to
8dbf980
Compare
DTOField
via Annotated
DTOField
via Annotated
8dbf980
to
907ebd5
Compare
@peterschutt this seems to be ready? |
Yeh close - no tests. I have some related changes to PR, however I'm AFK for the weekend. |
b0472a4
to
1e8a24f
Compare
If an argument to I created jcrist/msgspec#565 for that, however, for the tests to pass we'd either need to wait for that to make a release, or make |
Is that |
Yep. Msgspec passes the type into I ended up going with The other option is to block this until msgspec cuts their next release and not modify the hashability of the types at all. |
FYI: waiting for this. |
52cf62c
to
dbb8e8a
Compare
SonarCloud Quality Gate failed. 0 Bugs 91.3% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/2367 |
* wip Signed-off-by: Janek Nouvertné <[email protected]> * some debugging Signed-off-by: Janek Nouvertné <[email protected]> * formatting Signed-off-by: Janek Nouvertné <[email protected]> * use a separate connection to publish/listen Signed-off-by: Janek Nouvertné <[email protected]> * reintroduce flaky Signed-off-by: Janek Nouvertné <[email protected]> * Fix typing Signed-off-by: Janek Nouvertné <[email protected]> * Add psycopg backend Signed-off-by: Janek Nouvertné <[email protected]> * Fix backend issues Signed-off-by: Janek Nouvertné <[email protected]> * Undo test debugging changes Signed-off-by: Janek Nouvertné <[email protected]> * mark groups Signed-off-by: Janek Nouvertné <[email protected]> * Ensure channel names ar quoted Signed-off-by: Janek Nouvertné <[email protected]> * sleep debugging Signed-off-by: Janek Nouvertné <[email protected]> * update docs Signed-off-by: Janek Nouvertné <[email protected]> * Add missing test Signed-off-by: Janek Nouvertné <[email protected]> * Fix docs link Signed-off-by: Janek Nouvertné <[email protected]> * Add missing listener test Signed-off-by: Janek Nouvertné <[email protected]> * Formatting Signed-off-by: Janek Nouvertné <[email protected]> * Fix test typing Signed-off-by: Janek Nouvertné <[email protected]> * Fix some coverage issue Signed-off-by: Janek Nouvertné <[email protected]> --------- Signed-off-by: Janek Nouvertné <[email protected]> Co-authored-by: Cody Fincher <[email protected]>
Signed-off-by: Janek Nouvertné <[email protected]>
d022890
to
2a0ece5
Compare
E.g.: ```py class A(Struct): a: Annotated[int, dto_field("read_only")] ``` For #2351
de19eed
to
9749d94
Compare
47bd532
to
1e037d3
Compare
1e2f5cd
to
37c59b7
Compare
6341f9b
to
122448b
Compare
353ebca
to
525cd4c
Compare
8ede1b5
to
03b63e6
Compare
@peterschutt Anything blocking this aside from time constraints? |
Nothing - except that I keep getting distracted with work closer to the top of the pile. |
Superseded by #3289 3289 |
E.g.:
For #2351
Pull Request Checklist
Description
Close Issue(s)