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

Fix { backtrace: true } with @defer #4708

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Conversation

rmosolgo
Copy link
Owner

Oops -- previously, the cleanup of multiplex.context caused this to break when @defer was used. It would get cleaned up, but then, when deferrals were running, there'd be no context to read or write from.

Now, the state is not cleaned up -- and it doesn't have to be, since it's local to the Trace instance.

I don't have a good test for this repo, but I do have a backtrace: true test in GraphQL-Pro's defer tests now.

@rmosolgo rmosolgo added this to the 2.1.7 milestone Nov 20, 2023
@rmosolgo rmosolgo merged commit d56c773 into master Nov 21, 2023
12 checks passed
@rmosolgo rmosolgo deleted the fix-backtrace-with-defer branch January 29, 2024 18:59
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.

1 participant