Combo.Ecto
Provides Ecto integration for Combo.
Features
-
implements
Plug.Exceptionprotocol for the relevant Ecto exceptions -
implements
Combo.HTML.FormDataprotocol forEcto.Changeset -
provides
Combo.Ecto.SQL.Sandboxplug for concurrent browser tests
Installation
Add :combo_ecto to the list of dependencies in mix.exs:
def deps do
[{:combo_ecto, "~> 0.1"}]
endConfiguration
The Plug.Exception implementations for Ecto exceptions can be disabled by including the errors in the mix configuration.
config :combo_ecto,
exclude_exceptions: [Ecto.NoResultsError]License
Same as Combo.