Skip to content

Commit

Permalink
Fix field type
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Apr 26, 2022
1 parent 469728e commit 958f3e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/graphql_internal.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 958f3e1

Please sign in to comment.