mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: relate_and_unrelate -> append_and_remove everywhere
This commit is contained in:
parent
a802bf17fa
commit
48bcf1ca1f
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
|
||||||
|
|
||||||
* update to latest spark, support dsls in resource info
|
* 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
|
* add `loading?/1` query helper
|
||||||
|
|
||||||
|
|
|
@ -2477,7 +2477,7 @@ defmodule Ash.Changeset do
|
||||||
changeset,
|
changeset,
|
||||||
relationship,
|
relationship,
|
||||||
record_or_records,
|
record_or_records,
|
||||||
Keyword.put(opts, :type, :relate_and_unrelate)
|
Keyword.put(opts, :type, :append_and_remove)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue