We have a need to get the simple method name from MethodDescriptor. For
example, the simple service name of service/method is method. This can be
implemented using extractFullServiceName but sometimes we want both the
full service name as well as the simple method name and implementing
extractSimpleMethodName in terms of extractFullServiceName would mean
searching for / at least twice through the full method name. This can be
avoided if MethodDescriptor stored the full service name and the simple
method name separately. Before I start working on a PR, I'd like to know if
this is a change the team would be open to and, if so, any other
information that might be helpful.

Thanks,
Noel

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CALa_nQkzoSueN8EmQrerKrbLUCfero5DPEDurazFQ3%3DVXtjtoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to