ash-project / ash_json_api

The JSON:API extension for the Ash Framework
https://hexdocs.pm/ash_json_api
MIT License
56 stars 40 forks source link

improvement: thread context from `PlugHelpers.get_context` through to `Query` and `Changeset` #71

Closed bcksl closed 1 year ago

bcksl commented 1 year ago

The additional calls to set_tenant may be redundant, since it's in opts throughout, but it was used already in some places and should be either all or none.

Blocked on https://github.com/ash-project/ash/pull/534 Related to https://github.com/ash-project/ash_graphql/pull/62

Contributor checklist

zachdaniel commented 1 year ago

We don't need the set_tenant bit because that is done by Request.opts. Otherwise, this looks great :D

zachdaniel commented 1 year ago

Still got some issues