exop v1.2.4 Release Notes
-
๐ Changes
use Exop.Chain
now accepts:name_in_error
option: when it is set totrue
a failed operation in a chain returns the operation's module name as the first elements of output tuple{YourOperation, {:error, _}}
- ๐ new
type: :uuid
check which supports both UUID1 and UUID4 - ๐ new aliases for
:numericality
check (to make your code slim)::eq, :gt, :gte, :lt, :lte
:inner
check now accepts opts as both map and keyword (earlier only map has been allowed)- a few macros (like
parameter
,operation
etc.)locals_without_parens
formatter rule has been exported. Placeimport_deps: [:exop]
into your project's.formatter.exs
file in order to use it. step/2
has been added as an alias forExop.Chain
'soperation/2
macro