grpc-spring icon indicating copy to clipboard operation
grpc-spring copied to clipboard

In GRPC Can I extend same implementation class two places, because I would like to deprecate the old flow.

Open MaruthiRao opened this issue 4 years ago • 1 comments

Trying to use GRPC implementation stub in two classes, can I do that?

MaruthiRao avatar Jul 19 '21 04:07 MaruthiRao

You can only use @GrpcService on one of them and must handle the delegate to the other impl yourself. Maybe it would be better to use 3 impls. One that contains the delegate logic and the other two with just the buisness logic.

ST-DDT avatar Jul 19 '21 11:07 ST-DDT