Client middleware that validates gRPC response constraints specified with the protovalidate options in the proto files.
Classes | |
class | Middleware |
class | ResponseError |
RPC failed due to violations in the response protovalidate constraints. More... | |
struct | Settings |
struct | ValidationSettings |
class | ValidatorComponent |
Component for gRPC client response validation. More... | |
class | ValidatorError |
RPC failed due to validator internal errors. In most cases the reason this exception is thrown is protovalidate CEL expression errors in the proto file. More... | |
Functions | |
ValidationSettings | Parse (const yaml_config::YamlConfig &config, formats::parse::To< ValidationSettings >) |
Settings | Parse (const yaml_config::YamlConfig &config, formats::parse::To< Settings >) |
Settings grpc_protovalidate::client::Parse | ( | const yaml_config::YamlConfig & | config, |
formats::parse::To< Settings > | ) |
Definition at line 18 of file component.cpp.
ValidationSettings grpc_protovalidate::client::Parse | ( | const yaml_config::YamlConfig & | config, |
formats::parse::To< ValidationSettings > | ) |
Definition at line 12 of file component.cpp.