Skip to content

Commit

Permalink
Expose IsMethod to resolver context
Browse files Browse the repository at this point in the history
  • Loading branch information
codyleyhan committed Mar 13, 2019
1 parent f52726d commit 27e9753
Show file tree
Hide file tree
Showing 12 changed files with 2,107 additions and 1,578 deletions.
1 change: 1 addition & 0 deletions codegen/field.gotpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
Object: {{$object.Name|quote}},
Field: field,
Args: nil,
IsMethod: {{$field.IsMethod}},
}
ctx = graphql.WithResolverContext(ctx, rctx)
{{- if $field.Args }}
Expand Down
Loading

0 comments on commit 27e9753

Please sign in to comment.