Record type extractor
superbobry opened this issue · comments
We need a component which will recursively walk the source tree and extract types for records passed to nakaz:ensure
call. See sherif and jane for details. We only allow primitive types, records and type synonyms!
-type my_type() :: any_synonym_will | do.
-record(my_settings, {foo :: pos_integer(),
bar :: my_type(),
baz :: #some_other_record()}.
start() ->
nakaz:ensure([my_settings]).
do not foget support of 1..100500 and other