Skip to content

fix: Constraints on annotated types are respected when calling coverage method.#855

Open
sander76 wants to merge 4 commits into
litestar-org:mainfrom
sander76:coverage-call-and-constraints
Open

fix: Constraints on annotated types are respected when calling coverage method.#855
sander76 wants to merge 4 commits into
litestar-org:mainfrom
sander76:coverage-call-and-constraints

Conversation

@sander76
Copy link
Copy Markdown

Fixes Annotated Optionals when used in the .coverage method.

Closes #854

@sander76 sander76 requested a review from adhtruong as a code owner May 17, 2026 08:59
@sander76 sander76 changed the title fix coverage output on constrained optional. fix: Constraints on annotated types are respected when calling coverage method. May 17, 2026
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.

Bug: coverage method does not respect constraints when used in combination with a Union

1 participant