Open touhidurrr opened 1 month ago
1.0.22
Microsoft Windows NT 10.0.22631.0 x64
try this:
app.guard( { type: 'text', body: t.String({ format: 'byte', // no typesupport }), },
typesupport for byte and add base64
byte
base64
No type support for byte in format option also not sure why base64 is renamed as byte. https://github.com/elysiajs/elysia/blob/da63011c213158853e129d9668c1bb95f908c7d1/src/formats.ts#L73-L74
Upon further observation, I can see that many other types are also missing. Here is the list:
Here are the types I can see:
What version of Elysia.JS is running?
1.0.22
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
try this:
What is the expected behavior?
typesupport for
byte
and addbase64
What do you see instead?
No type support for
byte
in format option also not sure whybase64
is renamed asbyte
. https://github.com/elysiajs/elysia/blob/da63011c213158853e129d9668c1bb95f908c7d1/src/formats.ts#L73-L74Additional information
Upon further observation, I can see that many other types are also missing. Here is the list:
Here are the types I can see: