Skip to content

combo-lab/combo_ecto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

295 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Combo.Ecto

CI Hex.pm

Provides Ecto integration for Combo.

Features

  • implements Plug.Exception protocol for the relevant Ecto exceptions
  • implements Combo.HTML.FormData protocol for Ecto.Changeset
  • provides Combo.Ecto.SQL.Sandbox plug for concurrent browser tests

Installation

Add :combo_ecto to the list of dependencies in mix.exs:

def deps do
  [
    {:combo_ecto, "<requirement>"}
  ]
end

Configuration

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

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Contributors

Languages