Open lithdew opened 3 months ago
1.0.11
Darwin 23.4.0 arm64 arm
export async function deriveSession({ cookie }: Context<any>) { return { session: "123" }; }
Use the derive() above as .derive(deriveSession). The field session is undefined in all handlers.
derive()
.derive(deriveSession)
session
No response
Patched on 1.0.14, please update and let me know if it works
What version of Elysia.JS is running?
1.0.11
What platform is your computer?
Darwin 23.4.0 arm64 arm
What steps can reproduce the bug?
Use the
derive()
above as.derive(deriveSession)
. The fieldsession
is undefined in all handlers.What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response