Cqrs.Command.field
You're seeing just the macro
field
, go back to Cqrs.Command module for more information.
Specs
Defines a command field.
:name
- anyatom
:type
- any valid Ecto Schema type:opts
- any valid Ecto Schema field options. Plus::required
-true | false
. Defaults to therequire_all_fields
option.:internal
-true | false
. Iftrue
, this field is meant to be used internally. Iftrue
, the required option will be set tofalse
and the field will be hidden from documentation.:description
- Documentation for the field.