Closed mnpenner closed 2 months ago
@SaltyAom do you consider this for the next release? This is pretty useful. Like transforming a string to a date, converting using an enum and so on. I wonder if this is actually just a type issue or if this needs more work (actually transforming the data using typebox).
I wonder if this is actually just a type issue or if this needs more work (actually transforming the data using typebox).
I didn't hunt down where the deserialization happens, but as long as Elysia is using Decode
it should automagically work, and indeed that seems to be the case in my little project.
…t schema
This will infer the correct type with Typebox Transform Types (https://github.com/sinclairzx81/typebox?tab=readme-ov-file#transform-types) are used