Skip to content

Commit

Permalink
c/test: serde_fields for commands_serialization_test
Browse files Browse the repository at this point in the history
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
  • Loading branch information
oleiman committed Aug 29, 2024
1 parent 4455a36 commit b0a0003
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/v/cluster/tests/commands_serialization_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ struct fake_serde_only_key
using rpc_adl_exempt = std::true_type;

ss::sstring str;

auto serde_fields() { return std::tie(str); }
};
struct fake_serde_only_val
: serde::envelope<
Expand All @@ -55,6 +57,8 @@ struct fake_serde_only_val
using rpc_adl_exempt = std::true_type;

ss::sstring str;

auto serde_fields() { return std::tie(str); }
};
using fake_serde_only_cmd = cluster::controller_command<
fake_serde_only_key,
Expand Down

0 comments on commit b0a0003

Please sign in to comment.