feathers icon indicating copy to clipboard operation
feathers copied to clipboard

Compatibility with hyper-express

Open matiaslopezd opened this issue 3 years ago • 1 comments

Hi @daffl!

What do I need to consider to make feathers compatible with hyper-express? I want to fork @feathers/express and make compatible with hyper-express.

By now I'm getting the error:

Error: Invalid service object passed for path `...`

Thanks!

matiaslopezd avatar Apr 05 '22 17:04 matiaslopezd

Do you have a link to your fork? For @feathersjs/express, middleware needs to be passed to the express app and service objects to the Feathers app. This is done in https://github.com/feathersjs/feathers/blob/dove/packages/express/src/index.ts#L31

daffl avatar Apr 12 '22 15:04 daffl