elysiajs / eden

Fully type-safe Elysia client
MIT License
147 stars 37 forks source link

Unify parsing into a util and add support for Date inside object #105

Closed dandeduck closed 2 months ago

dandeduck commented 2 months ago

Created from #104

The PR was initially intended to solve #104 , but the underline issue seems to be a bit more complex. For now this PR is for adding the correct parsing logic into a util and using it everywhere across treaty2. Later it should be used in ws as well (I assume adding it to treaty isn't necessary)