Open ryanleecode opened 6 days ago
1.1.17
Linux 6.6.52-1-MANJARO x86_64 unknown
Create api route where query parameter has a boolean
for example
query: t.Object({ registered: t.Optional( t.Boolean({ description: 'Filter usernames by registration status', }), ), }),
Submit request and do not include the boolean value, in this case omit registered
registered
it works
Tybebox Error
No response
node_modules
bun.lockb
I've been experiencing the same when using optional booleans in query parameters
What version of Elysia is running?
1.1.17
What platform is your computer?
Linux 6.6.52-1-MANJARO x86_64 unknown
What steps can reproduce the bug?
Create api route where query parameter has a boolean
for example
Submit request and do not include the boolean value, in this case omit
registered
What is the expected behavior?
it works
What do you see instead?
Tybebox Error
Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?No response