Skip to content

smoes/validixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Validixir

Tests Hex version badge

Validixir brings powerful and reusable applicative validation to Elixir.

The library was created based on the conviction, that exclusively valid domains objects should be producible, and thus exist. To implement this requirement, we need an easy yet powerful mechanism of expressing validations. The concept of this library is mainly based on applicative validation from languages like Haskell, with some flavors coming from the dynamically typed nature of Elixir.

To see a complete example of validation with Validixir, check out the included example file and the corresponding test file.

Installation

The package can be installed by adding validixir to your list of dependencies in mix.exs:

def deps do
  [
    {:validixir, "~> 1.2.1"}
  ]
end

Documentation

The documentation can be found on HexDocs.

About

Validixir uses applicative validation to bring powerful and reusable validation to Elixir.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages