EctoCommons

Build Status Coverage Status Hex Version License

Ecto common helpers such as validators and formatters.

Installation

The package is available on hex, so it can be installed by adding ecto_commons to your list of dependencies in mix.exs:

def deps do
[
{:ecto_commons, "~> 0.3.4"}
]
end

Incompatibility Warning

In order to check whether URLs are parseable, this library requires either a recent (>= 1.13.0) of Elixir, or an older (< 26) version of OTP.

Documentation

Documentation is published on HexDocs and can be found at https://hexdocs.pm/ecto_commons.

Summary

The package contains common ecto helpers:

Changeset validators

Changeset helpers

Changelog

ecto_commons follows semantic versioning. See CHANGELOG.md for more information.

Development

Use Earthly to run tests against various versions of Elixir and Erlang.

earthly +all

License

MIT. Please see LICENSE for licensing details.