Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Service at root. '/' #728
I'm experimenting with using feathers as a chassis for mirco-services. is it possible to have a service as the root route?
TypeError: Cannot read property 'hooks' of undefined at Function.module.exports (...\src\services[NAME][NAME].service.js:17:11)
Steps to reproduce
(First please check that this issue is not already solved as described
Tell us what should happen
Tell us what happens instead
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
React Native Version:
Hey @daffl, would you mind reviewing this decision in light of the following use case:
I am implementing an ActivityPub server and the root path (the domain) represents the person’s handle in the federated system. (So, e.g., I will be @ar.al and people will be able to mention me using my domain as a handle.) As such, under the W3C ActivityPub spec, other servers will hit https://ar.al expecting a GET response with an Actor object.
Afaik, this is currently impossible to implement in Feathers without falling back to plain Express. (This is not a showstopper for me but it would be nice to have all routes under the same approach.)
Currently, when I try to mount the route, I get:
IMHO, / should be a valid service path, representing the default service at the given domain.
Thanks for your time + look forward to hearing your thoughts :)
I would probably go with a middleware in that case. The problem with
I like the