mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 12:53:40 +12:00
fix: fix usage of new Ash.Query.filter/2
This commit is contained in:
parent
244da78444
commit
77566d96c4
2 changed files with 3 additions and 0 deletions
1
FUNDING.yml
Normal file
1
FUNDING.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
github: zachdaniel
|
|
@ -1,5 +1,7 @@
|
||||||
defmodule AshGraphql.Graphql.Resolver do
|
defmodule AshGraphql.Graphql.Resolver do
|
||||||
@moduledoc false
|
@moduledoc false
|
||||||
|
|
||||||
|
require Ash.Query
|
||||||
def resolve(
|
def resolve(
|
||||||
%{arguments: %{id: id}, context: context} = resolution,
|
%{arguments: %{id: id}, context: context} = resolution,
|
||||||
{api, resource, :get, action}
|
{api, resource, :get, action}
|
||||||
|
|
Loading…
Reference in a new issue