How to prevent running underlying datalayer behaviour on delete? `set_result/2` isn't working.
What is the equivalent of
Changeset.set_results/2 for destroy actions?
The set_result is runing the underlying datalayer behavior on delete, but according to the documentation, it should not happen. https://hexdocs.pm/ash/Ash.Changeset.html#set_result/2
What am I missing?
Solution:Jump to solution
I pull the latest version, removed
_build and tests started passing.
https://github.com/ash-project/ash/issues/2424...GitHub
set_result doesn't prevent running underlying datalayer behaviour...Code of Conduct I agree to follow this project's Code of Conduct AI Policy I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue. Versions 3....
2 Replies
@Kamaro sounds like a bug
Please PR a failing test open an issue with a reproduction
Solution
I pull the latest version, removed
_build and tests started passing.
https://github.com/ash-project/ash/issues/2424GitHub
set_result doesn't prevent running underlying datalayer behaviour...Code of Conduct I agree to follow this project's Code of Conduct AI Policy I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue. Versions 3....