diff --git a/.credo.exs b/.credo.exs index 73206517..25624efb 100644 --- a/.credo.exs +++ b/.credo.exs @@ -117,7 +117,7 @@ # {Credo.Check.Refactor.CondStatements, []}, {Credo.Check.Refactor.CyclomaticComplexity, false}, - {Credo.Check.Refactor.FunctionArity, [max_arity: 12]}, + {Credo.Check.Refactor.FunctionArity, [max_arity: 13]}, {Credo.Check.Refactor.LongQuoteBlocks, false}, {Credo.Check.Refactor.MapInto, false}, {Credo.Check.Refactor.MatchInCondition, []}, diff --git a/lib/resource/resource.ex b/lib/resource/resource.ex index 72607a56..d637de2f 100644 --- a/lib/resource/resource.ex +++ b/lib/resource/resource.ex @@ -3698,7 +3698,7 @@ defmodule AshGraphql.Resource do field_type(agg_type, attribute, resource) else resource = - if field && aggregate.type in [:first, :list] do + if field && aggregate.type in [:first, :list] do Ash.Resource.Info.related(resource, aggregate.relationship_path) else resource