contextual v1.0.0 Contextual.Config
Provides utility functions for dealing with configuration options.
Options
* `:repo` - The [`Ecto.Repo`](https://hexdocs.pm/ecto/2.2.8/Ecto.Repo.html) that should be used.
* `:schema` - The [`Ecto.Schema`](https://hexdocs.pm/ecto/2.2.8/Ecto.Schema.html) that should be used.
* `:name` - A tuple of singular and plural naming for the resource. For example, `{:post, :posts}`.
* `:name_generator` - A tuple of `{Module, :function}` to generate a name for a given operation.
* `:only` - A list of operations that should be generated.
* `:except` - A list of operations that should not be generated.
Link to this section Summary
Link to this section Functions
Link to this function
enabled?(opts, key)
Link to this function
generate_name(atom, arg)
Link to this function
get_name(opts, key)
Link to this function
with_defaults(opts)