contexted
contexted copied to clipboard
Elixir library designed to help you manage the complexity of Phoenix contexts. It offers tools for module separation, subcontext creation, and auto-generating CRUD operations.
In order to support umbrella projects there has to be an option to group contexts. Cross-references would only be checked within each context subgroup. Syntax proposal: ```elixir config :contexted, contexts:...
# Table of Contents 1. [CRUD](#org9f86aca) 1. [Opt in over opt out](#org23254b7) 2. [Function naming](#orgf01afeb) 1. [Ways of generating names](#org0572eba) 2. [Move function naming inside context to delegateall](#org033623a) 3. [Extensibility](#org1f17cca)...
Add a basic app example to show how to manage the contexts/subcontexts.
First of all, thank you for this library - I had been considering building something similar myself, but now I don’t have to. This pull request adds two pieces of...
Closes #44. In CRUD function generation, it will now allow calling generated `list_...` functions in the following ways: - `list_items()` - lists all resources unfiltered - `list_items(query)` - lists all...
For convenience and reducing the need to implement custom `list_...` function clauses, the generated ones should allow specifying preloads and filtering queries as arguments. Example: ```elixir iex> list_items() [%Item{}, ...]...
I am not entirely sure if these issues are solvable, but i'm using ElixirLS, and currently critical LSP information is lost about the functions when using `delegate_all`, impacting the DX....