mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 21:03:09 +12:00
chore: format
This commit is contained in:
parent
43ae1f07fc
commit
d692c931c2
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue