diff --git a/src/graphql_internal.hrl b/src/graphql_internal.hrl index 61cb6a7..0711231 100644 --- a/src/graphql_internal.hrl +++ b/src/graphql_internal.hrl @@ -28,9 +28,9 @@ -record(field, { id :: graphql:name(), - args = [] :: [#{ type := graphql_type(), - value := value(), - default := undefined | value() }], + args = [] :: [{binary(), #{ type := graphql_type(), + value := value(), + default := undefined | value() }}], directives = [] :: [any()], selection_set = [] :: [any()], alias = undefined :: undefined | graphql:name(),