ash-project / ash

A declarative, extensible framework for building Elixir applications.
https://www.ash-hq.org
MIT License
1.63k stars 220 forks source link

Cannot remove relationship from a belongs_to #1518

Closed lifeofdan closed 1 month ago

lifeofdan commented 1 month ago

Describe the bug Cannot remove a belongs_to relationship on a resource.

To Reproduce Test case provided on this repo. https://github.com/lifeofdan/ash_postgres/tree/can_unrelate_belongs_to

Expected behavior Expected author to be removed from post.

** Runtime

zachdaniel commented 1 month ago

Could you provide some more context on the issue here as well please?

zachdaniel commented 1 month ago

Like what your action looks like and what you were doing when you encountered the issue, and what the actual result was, etc.

zachdaniel commented 1 month ago

fixed in c50c9c7cdfd018e32c83c6cd3a8446f41bc3cf40

zachdaniel commented 1 month ago

Thank you for the reproduction

lifeofdan commented 1 month ago

Thank you for the fix!