ethanniser / next-typesafe-url

Fully typesafe, JSON serializable, and zod validated URL search params, dynamic route params, and routing for NextJS.
https://next-typesafe-url.dev
MIT License
362 stars 16 forks source link

Not ignoring route groups #73

Closed eluce2 closed 10 months ago

eluce2 commented 10 months ago

CleanShot 2023-10-23 at 08 51 16@2x

In the nextjs app router, route segments enclosed with parentheses are removed from the URL. Looks like your CLI doesn't do this, causing either type errors when I pass in the correct route, or 404 errors if I use the typed route