elysiajs / elysia

Ergonomic Framework for Humans
https://elysiajs.com
MIT License
10.15k stars 217 forks source link

All route param types are broken #582

Closed recanman closed 6 months ago

recanman commented 6 months ago

What version of Elysia.JS is running?

1.0.10

What platform is your computer?

Linux 6.1.60 x86_64 unknown

What steps can reproduce the bug?

app.get('/', async ({params}) => await test(params), {
    params: t.Object({test: t.String()})
});

params has type never.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

This issue has been persistent for approximately two weeks. I've tried versions from 0.8.0 to the latest with no success.

recanman commented 6 months ago

I don't know what happened, but everything fixed itself after two weeks of issues. I did not make any changes. Closing this issue.