Skip to content
Source
Sign inSign up
TanStack/router

negative value of number type key in search URL are transformed to string #259

Send to my agent
Closedjabidof(GitHub profile, opens in a new tab) opened this issue 1 comment

Describe the bug

See this TSearch type definition: usersView?: { m?: number; }

This URL will reach expected result: http://localhost:3000/abt_1593420797181?usersView=~(m~2) m=2 (number) as expected http://localhost:3000/abt_1593420797181?usersView=~(m~-7) m="-7" (string) not as expected or?

Thanks for any feedback.

Your Example Website or App

none

Steps to Reproduce the Bug or Issue

See bug descriptoin

Expected behavior

Keep type definition in TSearch for URL search results.

Screenshots or Videos

No response

Platform

  • any

Additional context

No response

  1. JSURL is optional now in TanStack Router which would make this an upstream bug

  2. tannerlinsley closed this

Sign in to join this conversation.