mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: add back private_vars
for InvalidAttribute
This commit is contained in:
parent
7db6aa049c
commit
f3a1ee2364
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue