feathers
feathers copied to clipboard
Compatibility with hyper-express
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!
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