Marc J. Schmidt
Marc J. Schmidt
```typescript export class SessionsService { constructor( protected readonly logger: ScopedLogger ) } ```
We need some tests for this first, and yarn.lock update removed
fix/workaround is putting the validator outside of HttpQuery. likely related to type caches ```typescript @http.GET('do') async do( a: HttpQuery & MinLength, b: HttpQuery, ) { return { valid: true };...
Note: we should add the same mechanism to message bus. maybe worth trying to see if rxjs can be used for that
Probably, but I'm not sure. Looks pretty much like a bug.
Did you also update @deepkit/broker? Depending on your package manager, you have to do it manually. I prefer to update packages either via "npx update-by-scope @deepkit" or "yarn up '@deepkit/*'
seems like you don't use npm and use something that doesn't handle peer dependencies properly
oh wait, we have wrong peerDependencies version for broker, which seems to be the issue here
you can just inject HttpRequest, it is available in your rpc controller, there you can read all your headers ```typescript @rpc.controller("/test") export class TestService { constructor(private request: HttpRequest) {} @rpc.action()...
I don't think SWC supports javascript plugins, so it's impossible to load any javascript loader with SWC