Hey, This seems like a really old discussion, but I wanna continue some of my inputs here in hopes that this gets implemented soon. There're some accepted proposals for other languages for server interceptors which might be useful Node.js Client Interceptors - https://github.com/grpc/proposal/pull/14 Python - https://github.com/grpc/proposal/pull/119 Ruby - https://github.com/grpc/proposal/pull/34 C# - https://github.com/grpc/proposal/pull/38 PHP - https://github.com/grpc/proposal/pull/45
As far as the API goes I believe it should be as similar as possible to the Node.js client interceptor API (Probably even a unified API/proposal like other languages) and a stretch goal could be to take inspiration from the other language APIs. I haven't looked into the API designs yet, so not sure how different or similar they are, but I am willing to invest some time in it if it gets some traction. On Monday, December 16, 2019 at 7:12:24 PM UTC+1 Michael Lumish wrote: > In the time since that issue was filed, it is still unclear what a server > interceptors API would look like, or even what problems it should solve. > The first thing that would be needed to add this kind of feature would be a > proposal similar to > https://github.com/grpc/proposal/blob/master/L5-node-client-interceptors.md > that > describes the proposed API. > > On Fri, Dec 13, 2019 at 4:23 PM <[email protected]> wrote: > >> Hey all, >> >> Just wondering if anyone knows if NodeJS Server Interceptors are >> implemented yet, or an extension which could add this functionality. I've >> been using them for Go and would appreciate to use them for a Node server >> as well. I know that client side was implemented a while ago here: >> https://github.com/grpc/grpc/pull/9842, and that there was a brief >> discussion of server side here: https://github.com/grpc/grpc/issues/8394, >> but was there any action off of these discussions? >> >> If not, what would be the work involved in getting this added? >> >> Thanks in advance, >> Matt >> >> -- >> You received this message because you are subscribed to the Google Groups >> "grpc.io" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/e8601ecd-2ee6-4e38-aeb2-f8b7b7b3433c%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/e8601ecd-2ee6-4e38-aeb2-f8b7b7b3433c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/aa2736af-53f1-49a0-a5bc-443ab4daddaan%40googlegroups.com.
