Domo.required_fields
You're seeing just the callback
required_fields
, go back to Domo module for more information.
Specs
required_fields() :: [atom()]
Specs
Returns the list of struct's fields having type others then nil
or any()
.
Does not return meta fields with __underscored__
names.
Useful for validation of the required fields for emptiness.
F.e. with validate_required/2
call in the Ecto
changeset.
Options
:include_meta
- when set totrue
, adds fields with__underscored__
names to the return list. Default isfalse
.