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

fix: kwarg ambiguity exc msg for path params #3261

Merged
merged 3 commits into from Mar 27, 2024
Merged

Conversation

peterschutt
Copy link
Contributor

Description

This PR cherry picks @guacs' commit from #3223 that fixes the way we construct the exception message when there is a kwarg ambiguity detected for path parameters.

Closes

guacs and others added 2 commits March 27, 2024 11:29
This PR cherry picks @guacs' commit that fixes the way we construct the exception message when there is a kwarg ambiguity detected for path parameters.

Adds a test.
@peterschutt peterschutt requested review from a team as code owners March 27, 2024 01:33
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.23%. Comparing base (4b7d77e) to head (2194426).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3261   +/-   ##
=======================================
  Coverage   98.22%   98.23%           
=======================================
  Files         320      320           
  Lines       14447    14447           
  Branches     2297     2296    -1     
=======================================
+ Hits        14191    14192    +1     
  Misses        114      114           
+ Partials      142      141    -1     

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

litestar/_kwargs/kwargs_model.py Outdated Show resolved Hide resolved
Co-authored-by: Jacob Coffee <jacob@z7x.org>
@peterschutt peterschutt enabled auto-merge (squash) March 27, 2024 01:47
Copy link

sonarcloud bot commented Mar 27, 2024

@peterschutt peterschutt merged commit a9b295e into main Mar 27, 2024
20 checks passed
@peterschutt peterschutt deleted the fix-error-message branch March 27, 2024 01:52
Copy link

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3261

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.

None yet

3 participants