From 958f3e151d2026df7783d656ca20cf96b289d073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Wojtasik?= Date: Tue, 26 Apr 2022 16:08:41 +0200 Subject: [PATCH] Fix field type --- src/graphql_internal.hrl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(),