20#ifndef ORES_CONNECTIONS_REPOSITORY_ENVIRONMENT_MAPPER_HPP
21#define ORES_CONNECTIONS_REPOSITORY_ENVIRONMENT_MAPPER_HPP
24#include "ores.connections/domain/environment.hpp"
25#include "ores.connections/repository/environment_entity.hpp"
27namespace ores::connections::repository {
29class environment_mapper final {
31 static environment_entity to_entity(
const domain::environment&
env);
32 static domain::environment to_domain(
const environment_entity& e);
33 static std::vector<environment_entity> to_entities(
34 const std::vector<domain::environment>& envs);
35 static std::vector<domain::environment> to_domain(
36 const std::vector<environment_entity>& entities);
Utilities for reading environment variables.
Definition environment.hpp:31