Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracer: fixed nil pointer issue #434

Merged
merged 2 commits into from
Nov 16, 2018
Merged

Tracer: fixed nil pointer issue #434

merged 2 commits into from
Nov 16, 2018

Conversation

urakozz
Copy link
Contributor

@urakozz urakozz commented Nov 15, 2018

Right now code generated with latest master fails since there are usages of RequestContext.Tracer but there is no initialization of it or any write to this variable

Right now code generated with latest master fails since there are usages of Trace but there is no any single write to this variable
@urakozz urakozz changed the title Update context.go Tracer: fixed nil pointer issue Nov 15, 2018
@nmijailovic
Copy link

Yes, that fixed the issue with the generated code not having the Tracer: graph/generated.go:204:10: ec.Tracer undefined (type *executionContext has no field or method Tracer)

@yurykozyrev
Copy link

@nmijailovic you could temporary use my repo

[[constraint]]
  name = "github.com/99designs/gqlgen"
  source = "github.com/urakozz/gqlgen"
  branch = "master"
#  version = "^0.6.0"

@nmijailovic
Copy link

@yurykozyrev thx, have already updated code locally from your diff, it is now working.

@vektah vektah merged commit 0ac6fa5 into 99designs:master Nov 16, 2018
@urakozz urakozz deleted the patch-1 branch March 31, 2019 18:21
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
Tracer: fixed nil pointer issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants