Accessing Middleware Values in SvelteKit Routes Without Using `request.locals`
I have a sveltekit middleware where I call:
I would like to access the value provided by the middleware in the route. Is it possible without using
PS: I don't think this is a No Access specific problem rather a situation where the application is not handled by effect
MyRuntime.runPromise(Effect.promise(() => resolve(request))). resolve returns the result of the route executed with MyRuntime.runPromise(Effect.gen(...)). If resolve is not executed, the route is never called.I would like to access the value provided by the middleware in the route. Is it possible without using
request.locals?PS: I don't think this is a No Access specific problem rather a situation where the application is not handled by effect
