chore: format

This commit is contained in:
Zach Daniel 2024-04-01 16:16:05 -04:00
parent 43ae1f07fc
commit d692c931c2
2 changed files with 5 additions and 2 deletions

View file

@ -566,7 +566,10 @@ defmodule AshGraphql.Graphql.Resolver do
AshGraphql.Resource.Info.managed_relationship(resource, action, %{name: name, type: type}) &&
is_map(value) ->
managed_relationship =
AshGraphql.Resource.Info.managed_relationship(resource, action, %{name: name, type: type})
AshGraphql.Resource.Info.managed_relationship(resource, action, %{
name: name,
type: type
})
opts = AshGraphql.Resource.find_manage_change(%{name: name}, action, resource)

View file

@ -159,7 +159,7 @@ defmodule AshGraphql.Resource do
name: :managed_relationship,
schema: ManagedRelationship.schema(),
args: [:action, :argument],
target: ManagedRelationship,
target: ManagedRelationship,
describe: """
Instructs ash_graphql that a given argument with a `manage_relationship` change should have its input objects derived automatically from the potential actions to be called.