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

escaped sequences not mapped correctly #39

Open
lifeiscontent opened this issue Sep 23, 2023 · 0 comments
Open

escaped sequences not mapped correctly #39

lifeiscontent opened this issue Sep 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lifeiscontent
Copy link

Describe the bug

I have a route called contacts.$id[.vcard].tsx

the route string is properly generated by the routes.d.ts but the runtime handling of it is invalid.

the produced URL of the route function looks as follows:

route('/contacts/:id.vcard', {
  id: '1',
})

and the output looks like this:

/contacts/:id.vcard

where :id should be replaced with the actual parameter

Your Example Website or App

N/A

Steps to Reproduce the Bug or Issue

outlined above

Expected behavior

I'd expect the correct runtime value

Screenshots or Videos

No response

Platform

N/A

Additional context

No response

@sandulat sandulat added the bug Something isn't working label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants