mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-20 05:13:33 +12:00
fix: ensure type is set when using find_manage_relationship
closes #132
This commit is contained in:
parent
1c4cf1969c
commit
bd9562a9fa
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ defmodule AshGraphql.Graphql.Resolver do
|
|||
type: type
|
||||
})
|
||||
|
||||
opts = AshGraphql.Resource.find_manage_change(%{name: name}, action, resource)
|
||||
opts = AshGraphql.Resource.find_manage_change(%{name: name, type: type}, action, resource)
|
||||
|
||||
relationship =
|
||||
Ash.Resource.Info.relationship(resource, opts[:relationship]) ||
|
||||
|
|
Loading…
Reference in a new issue