Skip to content

Conversation

@JVMartyns
Copy link
Contributor

Pass record, context, and resource to Ash.Expr.eval when evaluating filters. Update tests to create real Actor records (use UUIDs) and reference actor IDs from created records. Replace actor_id attribute with a belongs_to(:actor) relation and change the read policy to use relates_to_actor_via/1 so subscription authorization behaves correctly.

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

Pass record, context, and resource to Ash.Expr.eval when evaluating
filters. Update tests to create real Actor records (use UUIDs) and
reference actor IDs from created records. Replace actor_id attribute
with a belongs_to(:actor) relation and change the read policy to use
relates_to_actor_via/1 so subscription authorization behaves correctly.
@zachdaniel zachdaniel merged commit 34f49ac into ash-project:main Dec 6, 2025
23 checks passed
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants