mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 12:53:40 +12:00
test: fix testing type
This commit is contained in:
parent
339a78ec98
commit
0ec762507f
1 changed files with 4 additions and 0 deletions
|
@ -40,7 +40,11 @@ defmodule AshGraphql.Test.Status do
|
|||
:error
|
||||
end
|
||||
|
||||
def cast_stored(_, _), do: :error
|
||||
|
||||
@impl true
|
||||
def dump_to_native(nil, _), do: {:ok, nil}
|
||||
|
||||
def dump_to_native(value, _) when is_atom(value) do
|
||||
{:ok, to_string(value)}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue