ash/README.md

17 lines
1 KiB
Markdown
Raw Normal View History

2019-10-03 16:08:36 +13:00
# Ash
**TODO: Add description**
2019-10-06 13:33:38 +13:00
## TODO LIST (in no order)
* Add central API configuration DSL `api do ... end`
* Use this for `default_page_size` and `max_page_size`
* Make our router cabaple of describing its routes in `mix phx.routes` Chris McCord says that we could probably power that, seeing as phoenix controls both APIs, and that capability could be added to `Plug.Router`
* Finish the serializer
* Make primary key type configurable
* Make a DSL for join tables to support complex validation/hooks into how they work, support more than just table names in `join_through`
2019-10-07 09:36:06 +13:00
* DSL level validations! Things like includes validating that their chain exists.
* break up the `Ash` module
* Wire up/formalize the error handling
* Consider adding an `expose do` block *inside* of attributes that will be the same as defining an attribute but will automatically add `expose?: true` so developers don't have to type it all the time.
* Ensure that errors are properly propagated up from the data_layer behaviour, and every operation is allowed to fail