mswjs / msw

Seamless REST/GraphQL API mocking library for browser and Node.js.
https://mswjs.io
MIT License
15.28k stars 479 forks source link

fix: preserve trailing optional path parameters #2169

Closed kettanaito closed 1 month ago

kettanaito commented 1 month ago
KaiSpencer commented 1 month ago

Hey @kettanaito,

I have a fix for this. How would you like it contributing given this branch and PR already existing.

kettanaito commented 1 month ago

Hi, @KaiSpencer. This should work:

  1. Fork this repo.
  2. Check out to this PR's branch.
  3. From this branch, create a new branch. Give it whichever name you wish.
  4. Commit and push your changes to the new branch to your fork as the origin.
  5. Go on GitHub and open a PR from your new branch to this feature branch.

Then I'll see it and be able to review it!

kettanaito commented 1 month ago

Released: v2.3.1 🎉

This has been released in v2.3.1!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.