I am trying to let conform (Exrm configuration library) handle the following part of config.exs:
config :example_application,
ip: {127, 0, 0, 1}, % this is a tuple
port: 8080
config :mime, :types,
%{"text/mathml" => ["mml"]} % this is a map
Can conform handle non-trivial types as tuples or maps in config.exs by mix conform.new
or mix conform.configure
? It looks like the schema file’s datatype
cannot be parsed in Conform.Translate
module unless custom definitions are given. Examples are appreciated.