mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-09-29 16:36:38 +00:00
InTokenMap/ParentInTokenMap called Ash.Expr.ref/2 with reversed args and, even fixed, dynamic relationship-path refs don't resolve through filter hydration. Build filters as nested keyword lists instead (a form FilterCheck.filter/3 accepts directly and Ash resolves natively through relationships). Also fixes CreateParentInTokenMap's internal parent lookup, which silently returned no rows without an actor due to MapSystem's actor-scoped read preparation. Adds direct filter/3 tests against real queries/DB rows for both FilterCheck modules plus positive/negative CreateParentInTokenMap coverage.