chore: No ALL_CAPS (#1760)

Fixes #1680
This commit is contained in:
Alex Kremer
2025-01-02 11:39:31 +00:00
committed by GitHub
parent efe5d08205
commit 820b32c6d7
361 changed files with 10061 additions and 9724 deletions

View File

@@ -77,12 +77,12 @@ public:
{
using namespace rpc::validation;
static auto const rpcSpec = rpc::RpcSpec{
static auto const kRPC_SPEC = rpc::RpcSpec{
{"hello", Required{}, Type<std::string>{}, EqualTo{"world"}},
{"limit", Type<uint32_t>{}, Between<uint32_t>{0, 100}}, // optional field
};
return rpcSpec;
return kRPC_SPEC;
}
static Result
@@ -116,12 +116,12 @@ public:
{
using namespace rpc::validation;
static auto const rpcSpec = rpc::RpcSpec{
static auto const kRPC_SPEC = rpc::RpcSpec{
{"hello", Required{}, Type<std::string>{}, EqualTo{"world"}},
{"limit", Type<uint32_t>{}, Between<uint32_t>{0u, 100u}}, // optional field
};
return rpcSpec;
return kRPC_SPEC;
}
static Result