chore: relate_and_unrelate -> append_and_remove everywhere

This commit is contained in:
Zach Daniel 2022-09-20 22:49:43 -04:00
parent a802bf17fa
commit 48bcf1ca1f
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
* update to latest spark, support dsls in resource info
* deprecate `:replace` in favor of `:relate_and_unrelate`
* deprecate `:replace` in favor of `:append_and_remove`
* add `loading?/1` query helper

View file

@ -2477,7 +2477,7 @@ defmodule Ash.Changeset do
changeset,
relationship,
record_or_records,
Keyword.put(opts, :type, :relate_and_unrelate)
Keyword.put(opts, :type, :append_and_remove)
)
end