Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust behaviour of changed?/2 for assocs
It now returns true whenever `fetch_change? != :error`. Previously, it returned false when assoc was set to existing struct (as `changeset.changes == %{}`) and errored when set to nil (due to `nil.changes != %{}` check in `relation_changed?`. Fixes #4543.
- Loading branch information