fix: fix get resolver not_found message

This commit is contained in:
Zach Daniel 2021-09-13 16:55:03 -04:00
parent 2632e477b3
commit bdf814cae2

View file

@ -60,7 +60,8 @@ defmodule AshGraphql.Graphql.Resolver do
end
case {result, gql_query.allow_nil?} do
{{{:ok, nil}, _}, false} ->
{{:ok, nil}, false} ->
{:ok, filter} = filter
result = not_found(filter, resource)
resolution