Skip to main content
Version: 0.3.x (0.3.0)

Namespace AdCodicem.ValueObjects.Grpc

Classes​

ValueObjectBadRequest

Creates the value objects a contract-first request maps its fields to, records each value they refuse as a google.rpc.BadRequest field violation, and answers them all at once as INVALID_ARGUMENT.

ValueObjectExceptionInterceptor

Answers a that escapes a gRPC service method with INVALID_ARGUMENT and a google.rpc.ErrorInfo carrying the rule's code, rather than UNKNOWN.