chore: add back private_vars for InvalidAttribute

This commit is contained in:
Zach Daniel 2022-10-17 08:00:14 -05:00
parent 7db6aa049c
commit f3a1ee2364

View file

@ -2,7 +2,7 @@ defmodule Ash.Error.Changes.InvalidAttribute do
@moduledoc "Used when an invalid value is provided for an attribute change" @moduledoc "Used when an invalid value is provided for an attribute change"
use Ash.Error.Exception use Ash.Error.Exception
def_ash_error([:field, :message], class: :invalid) def_ash_error([:field, :message, :private_vars], class: :invalid)
defimpl Ash.ErrorKind do defimpl Ash.ErrorKind do
def id(_), do: Ash.UUID.generate() def id(_), do: Ash.UUID.generate()