conform v1.0.0-rc3 Conform.Translate

This module is responsible for translating either from .conf -> .config or from .schema.exs -> .conf

Summary

Functions

Translate the provided schema to it’s default .conf representation

Translate the provided .conf to it’s .config representation using the provided schema

Types

table_identifier :: non_neg_integer | atom

Functions

to_conf(schema)

Specs

to_conf([{atom, term}]) :: binary

Translate the provided schema to it’s default .conf representation

to_config(schema, config, conf_table_id)

Specs

to_config(%Conform.Schema{extends: term, import: term, mappings: term, transforms: term, validators: term}, [{term, term}] | [], table_identifier) :: term

Translate the provided .conf to it’s .config representation using the provided schema.