generated from chiffre-io/template-library
-
-
Notifications
You must be signed in to change notification settings - Fork 256
Closed
Labels
bugSomething isn't workingSomething isn't workingparsers/built-inRelated to built-in parsersRelated to built-in parsersreleased
Description
Context
What's your version of nuqs?
2.7.2
What framework are you using?
- ✅ Next.js (app router)
Which version of your framework are you using?
15.4.3
Description
My application interacts with existing systems that use 'TRUE' rather than 'true' for booleans in search params. I was a little surprised to find that nuqs parses 'TRUE' as false.
Reproduction
parseAsBoolean.parse('true') // returns true
parseAsBoolean.parse('TRUE') // returns false
Proposed fix
See draft PR #1204
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingparsers/built-inRelated to built-in parsersRelated to built-in parsersreleased