Skip to content

Commit ec25c69

Browse files
committed
chore: add note about 4.0 change
1 parent b217c0e commit ec25c69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ash/resource/change/set_attribute.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ defmodule Ash.Resource.Change.SetAttribute do
5656

5757
def validate_value(value), do: {:ok, value}
5858

59+
# 4.0 change this behavior so that if its being set by defaults
60+
# this still considers it as `new?` https://github.com/ash-project/ash/issues/2125
5961
@impl true
6062
def change(changeset, opts, _) do
6163
value =

0 commit comments

Comments
 (0)