It should be possible to use this function, and it did work as of ash v2.5.9. This test fails as of ash v2.5.10, which introduced adding relationships to underlying ecto schemas. The bug is related...
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.