Currently, there is no way to attach ServerInterceptor's directly to the standard Spine services (e.g., QueryService, CommandService, SubscriptionService) during building the io.spine.server.Server.
Current Workaround
- Build the
io.spine.server.Server with bounded contexts.
- Extract the configured Spine services.
- Add Spine services to the
io.grpc.Server wrapping the necessary ones with interceptors.
Currently, there is no way to attach
ServerInterceptor's directly to the standard Spine services (e.g.,QueryService,CommandService,SubscriptionService) during building theio.spine.server.Server.Current Workaround
io.spine.server.Serverwith bounded contexts.io.grpc.Serverwrapping the necessary ones with interceptors.