Skip to content

Conversation

jonkoops
Copy link
Contributor

Exports the PathParam type from the package, so it can be used by consumers. I personally found the need for this, as I have some code in my project that builds on top of generatePath(), and thus I need to also be able to use the same types it uses internally.

@changeset-bot
Copy link

changeset-bot bot commented Jul 19, 2023

🦋 Changeset detected

Latest commit: c2d5c0e

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

This PR includes changesets to release 5 packages
Name Type
react-router-dom-v5-compat Minor
react-router-native Minor
react-router-dom Minor
react-router Minor
@remix-run/router Minor

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

@jonkoops jonkoops force-pushed the export-path-param-type branch from e136c0d to fc871e2 Compare July 19, 2023 15:51
@jonkoops jonkoops force-pushed the export-path-param-type branch from fc871e2 to c2d5c0e Compare October 3, 2023 14:14
@jonkoops
Copy link
Contributor Author

jonkoops commented Oct 3, 2023

@mjackson @ryanflorence @brophdawg11 would it be possible to get this reviewed? It's a very small change, but it would help us out a lot.

@jonkoops
Copy link
Contributor Author

jonkoops commented Oct 3, 2023

For an in the wild use-case of this see keycloak/keycloak#23667

@jonkoops
Copy link
Contributor Author

@timdorr @MichaelDeBoey sorry to call you out like this, but could one of you help me move this forward?

Copy link
Contributor

@brophdawg11 brophdawg11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Sorry for the delay!

@brophdawg11 brophdawg11 merged commit a48c43c into remix-run:dev Nov 16, 2023
@jonkoops
Copy link
Contributor Author

No problem, thanks for landing this!

@jonkoops jonkoops deleted the export-path-param-type branch November 16, 2023 20:43
Copy link
Contributor

🤖 Hello there,

We just published version 6.20.0-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.20.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

jonathanpruvost pushed a commit to concordnow/react-router that referenced this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants