You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const optionsController = new Elysia().get("/options/:symbol", ...)
then using Eden treaty const { data, error } = await app.options({ symbol: contractSymbol }).get()
errors with app.options being undefined. The typechecking of data returns the correct type that I expect from that endpoint, but it errors during runtime
What is the expected behavior?
Either the data returns correctly or the typechecking would give me an error letting me know I can't use http verbs as endpoints
What do you see instead?
Typechecking returns as expected, code errors during runtime
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
No response
The text was updated successfully, but these errors were encountered:
What version of Elysia is running?
1.1.23
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
const optionsController = new Elysia().get("/options/:symbol", ...)
then using Eden treaty
const { data, error } = await app.options({ symbol: contractSymbol }).get()
errors with app.options being undefined. The typechecking of data returns the correct type that I expect from that endpoint, but it errors during runtime
What is the expected behavior?
Either the data returns correctly or the typechecking would give me an error letting me know I can't use http verbs as endpoints
What do you see instead?
Typechecking returns as expected, code errors during runtime
Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?No response
The text was updated successfully, but these errors were encountered: