chore: don't explicitly set type when validating action

This commit is contained in:
Zach Daniel 2022-05-28 21:26:58 -04:00
parent c54bcdfdda
commit c717ad1ade

View file

@ -20,8 +20,7 @@ defmodule AshGraphql.Resource.Transformers.ValidateActions do
unless Ash.Resource.Info.action(
resource,
query_or_mutation.action,
type
query_or_mutation.action
) do
available_actions =
resource