ยฉ 2026 Hedgehog Software, LLC
actions do defaults [:read, create: :*, update: :*] end attributes do attribute :things, {:array, :map} do default [] public? true allow_nil? false end end
resource |> Ash.Changeset.for_update(:update, %{things: [%{key: "value"}]}) |> Ash.update!
Unknown Error * ** (Postgrex.Error) ERROR 42804 (datatype_mismatch) column "things" is of type jsonb[] but expression is of type text[]
ash_postgres