David Luecke

Results 268 comments of David Luecke

Very strange. It is being tested in https://github.com/feathersjs/feathers/blob/dove/packages/feathers/test/hooks/app.test.ts#L57-L92 but I can confirm that it isn't showing up in a wrapped application.

It's probably because the rest-client will always request `application/json` not `form-data`. You should be able to set the appropriate header for the request via [params.headers](https://docs.feathersjs.com/api/client/rest.html#params-headers): ```js restClient.service('test').create(fData, { headers: {...

Ah, I think this may be a bug for the REST client always using `JSON.stringify` on the body in https://github.com/feathersjs/feathers/blob/master/packages/rest-client/lib/fetch.js#L12. You could use `fetch` directly for now and pass the...

After looking into it a little bit, I think the safest way is to use [app.prependListener](https://nodejs.org/api/events.html#events_emitter_prependlistener_eventname_listener) instead. ```js app.prependListener('disconnect', (connection: any) => { console.log(connection.user ? 'User entity found' : 'No...

This is fantastic @radenkovic, thank you for sharing! I will definitely check this out shortly. As to your questions: - Is there any elegant way to inject hooks in before/finally...

I would just put in the docs that the debugger needs to be the last thing to be configured (at least after `app.hooks`). That should do it. Also, once it...

This is documented (even with permissions as an example) in the [Stateless JWT guide](https://docs.feathersjs.com/cookbook/authentication/stateless.html). I'm not sure why everybody is so opposed to extending the existing classes. They have been...

Sure, the docs can be clarified. Also not saying there can't be a stateless JWT option but there are a lot of intricacies that come with it - You have...

What I'm getting at is that we've been having discussions around this for many years now and it turns out that both approaches are effectively causing the same amount of...

I'd welcome PRs to the [Stateless JWT docs](https://docs.feathersjs.com/cookbook/authentication/stateless.html#configuration) that clarifies any problems you ran into. Also open to suggestions for an API to define the payload via configuration instead of...