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(path): fragment types are not compatible with string runtime type #31

Merged
merged 5 commits into from
Nov 19, 2023

Conversation

christoph-fricke
Copy link
Owner

This PR changes the typing for the params to convert all path fragments to string. In case a fragment is a string literal type, the literal gets preserved. This fixes #22.

Copy link

changeset-bot bot commented Nov 18, 2023

🦋 Changeset detected

Latest commit: 92844fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openapi-msw Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@christoph-fricke christoph-fricke merged commit 556dfca into main Nov 19, 2023
1 check passed
@christoph-fricke christoph-fricke deleted the fix/path-fragments branch November 19, 2023 14:17
@github-actions github-actions bot mentioned this pull request Nov 19, 2023
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.

Path Parameter Types Do Not Match Runtime Types
1 participant