nats-rpc/nrpc

Generated handler Suject() function should take module/service params

Opened this issue · 0 comments

The Subject() function on the generated handlers build the subject of the handler.

It currently insert wildcards for all the parameters, which is suitable for a subscription that aim to handle any possible parameter.

In some case however, a handler instance may need to subscribe to a specific parameter value.
The simplest would be that Subject() takes some arguments to optionally restrict the module/service subject params.