diff --git a/lib/resource/resource.ex b/lib/resource/resource.ex index dfa60fe4..95072916 100644 --- a/lib/resource/resource.ex +++ b/lib/resource/resource.ex @@ -3474,6 +3474,9 @@ defmodule AshGraphql.Resource do end) end + defp middleware_for_field(resource, field, name, {:array, type}, constraints, api) do + middleware_for_field(resource, field, name, type, constraints, api) + end defp middleware_for_field(resource, field, name, type, constraints, api) do if Ash.Type.NewType.new_type?(type) && Ash.Type.NewType.subtype_of(type) == Ash.Type.Union &&