Hi @williamthome
- What is the difference of
Data and Params ?
- What is
fields[] and how to utilize it?
- Why
fields always empty list?
- Why
data always empty map?
Valid Input
{changeset,[],
#{name => binary,starring => binary},
[name],
#{},
#{name => <<"Erlang the movie">>},
[],
[undefined,<<>>]}
Invalid Input
{changeset,[],
#{name => binary,starring => binary},
[name],
#{},#{},
[{name,{<<"is required">>,#{validation => is_required}}}],
[undefined,<<>>]}
Both Valid and Invalid input always returning empty list [] for fields parameter, and empty map #{} in data parameter.
Thank you 🙏