Ash FrameworkAF
Ash Framework3mo ago
6 replies
jeroen11dijk

in an `after_action` `changeset.context` has no tenant?

So when you have something like:

  def change(changeset, _opts, context) do
    Ash.Changeset.after_action(changeset, fn changeset, record ->


The context from the change has an actor, tenant, authorize? and some other attributes. But then in the changeset.context it is only the actor. Is there a specific reason for this?
Solution
THey just aren't the same objects really
Was this page helpful?