David Luecke

Results 292 comments of David Luecke

I'd like to finish up https://github.com/feathersjs/feathers-sync which will just provide a global event emitter and then create a `feathers-sync-mongodb` and `feathers-sync-redis` adapter. This should cover scaling the same application across...

Yes. The new [@feathersjs/hooks](https://github.com/feathersjs/hooks) is already Deno compatible with the rest of core to follow in v5 (Dove). To clarify, this applies only to - Feathers core (`@feathersjs/feathers`) - Authentication...

The problem is that Socket IO middleware only runs _once_ when the connection is established, not for every request. Probably related to https://github.com/feathersjs/feathers/issues/1854 to allow tie into the transport method...

It does but you'd have to pass those `params` along to every other internal call (which is the currently recommended way). What AsyncLocalStorage allows is to get access to things...

See my first comment https://github.com/feathersjs/feathers/issues/1881#issuecomment-600807093 - it might be possible with an [app service mixin](https://docs.feathersjs.com/api/application.html#mixins)

Do you have a non-Feathers example of AsyncLocalStorage handling exceptions?

Odd. I used a similar setup before, it looks like it should work. I'll see if I can reproduce the same problem.

Hey @claustres do you want to add this to https://github.com/feathersjs/awesome-feathersjs? I'm planning on updating `feathers-sync` and publish an article where I'll mention this one as well.

Is this available without a flag in all [currently supported NodeJS](https://nodejs.org/en/about/releases/) versions? I was thinking of adding it as another build but if that is the case I'd much rather...

This will be the default in v5 and the new CLI currently under development in https://github.com/feathersjs/feathers/pull/2425