-
-
Notifications
You must be signed in to change notification settings - Fork 488
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(openapi-fetch): baseUrl per request #1817
Conversation
🦋 Changeset detectedLatest commit: 21a5e4c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Looks good to me, just two small comments. Happy to discuss about it if needed!
Co-authored-by: Martin Paucot <[email protected]>
@@ -0,0 +1,5 @@ | |||
--- | |||
"openapi-fetch": minor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note for next time: we’re using minor
patches only for breaking changes while we’re on 0.x
on openapi-fetch
. patch
includes feature additions and bugfixes before 1.0
.
Changes
ref: #1633
Now
baseUrl
can be set per request and it should take precedence overbaseUrl
client option:How to Review
The tests should pass.
Checklist
docs/
updated (if necessary)pnpm run update:examples
run (only applicable for openapi-typescript)