20#ifndef ORES_VARIABILITY_MESSAGING_FEATURE_FLAGS_PROTOCOL_HPP
21#define ORES_VARIABILITY_MESSAGING_FEATURE_FLAGS_PROTOCOL_HPP
27#include "ores.comms/messaging/message_types.hpp"
28#include "ores.variability/domain/feature_flags.hpp"
30namespace ores::variability::messaging {
36 std::vector<std::byte> serialize()
const;
37 static std::expected<list_feature_flags_request, comms::messaging::error_code>
38 deserialize(std::span<const std::byte> data);
47 std::vector<domain::feature_flags> feature_flags;
49 std::vector<std::byte> serialize()
const;
50 static std::expected<list_feature_flags_response, comms::messaging::error_code>
51 deserialize(std::span<const std::byte> data);
Request to retrieve all feature flags.
Definition feature_flags_protocol.hpp:35
Response containing all feature flags.
Definition feature_flags_protocol.hpp:46