To avoid duplicate data contract name when using DataContract classes with same name, but different namespaces, I think it needs some mechanism for renaming data contract's name.
Found some referencable operation in ServiceBinder class that renames operation contract's name by using OperationAttribute.Name and OperationContractAttribute.Name
services and data types have quite a few differences; can you perhaps give a minimal but complete example of the scenario that is causing you a problem, and what you're seeing, so we don't talk past each-other?
To avoid duplicate data contract name when using DataContract classes with same name, but different namespaces, I think it needs some mechanism for renaming data contract's name.
Found some referencable operation in
ServiceBinder
class that renames operation contract's name by usingOperationAttribute.Name
andOperationContractAttribute.Name
https://github.com/protobuf-net/protobuf-net.Grpc/blob/062c18430ad561a7ff37d27857a590e2d1e9ebd5/src/protobuf-net.Grpc/Configuration/ServiceBinder.cs#L162-L165