Replies: 2 comments
-
Yes, adding service and method info to the context is a good call. If you'd like to have a go at it, we'd be happy to accept a contribution! |
Beta Was this translation helpful? Give feedback.
0 replies
-
For some thoughts in middleware, please also see #348 (reply in thread) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Including the service and method info in the handler context would help with building generic functionality in and around individual method implementations.
For instance, this would allow generic middlewares like a cache wrapper or access control to be wrapped around method implementations generically.
I'm assuming that there'll be a notion of middleware / interceptor added for connect-node at some point? Even with that in mind I think it would be good to forward these values to the handler.
Beta Was this translation helpful? Give feedback.
All reactions