A declarative and extensible framework for building Elixir applications.
Find a file
2019-11-26 12:38:47 -05:00
config move datalayer stuff out of ash 2019-10-06 16:36:06 -04:00
lib add authorized versions of read/get 2019-11-26 12:38:47 -05:00
test init 2019-10-02 23:08:36 -04:00
.formatter.exs WIP 2019-11-25 12:08:38 -05:00
.gitignore init 2019-10-02 23:08:36 -04:00
mix.exs move json_api out to ash_json_api 2019-10-11 11:06:09 -07:00
mix.lock work on separation lines and relationships 2019-10-30 11:10:01 -04:00
README.md WIP 2019-11-26 01:52:58 -05:00

Ash

TODO: Add description

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
  • DSL level validations! Things like includes validating that their chain exists. All DSL structs should be strictly validated when they are created.
  • Especially at compile time, we should never ignore or skip invalid options. If an option is present and invalid, an error is raised.
  • break up the Ash module
  • Wire up/formalize the error handling
  • Ensure that errors are properly propagated up from the data_layer behaviour, and every operation is allowed to fail
  • figure out the ecto schema warning
  • all actions need to be performed in a transaction
  • document authorization thoroughly. batch (default) checks need to return a list of ids for which the check passed.
  • So many parts of the system are reliant on things having an id key explicitly. THis will need to be addressed some day, and will be a huge pain in the ass
  • Validate that the user resource has a get action
  • The fact that the code level interface shouldn't be authorization is a potentially good reason to split the code level interface off of the interface that an API frontend my call into. Specifically, the grossness of it is highlighted by how we default user when handling actions to :__none__. This is because a client must be able to set the user to nil or a value, but the code lever interface should just skip validation (which is what :__none__ does)