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

Use trace_with to start and end batches #164

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

rmosolgo
Copy link
Contributor

I'm hoping to consolidate GraphQL-Ruby's many instrumentation hooks in GraphQL-Ruby 3.0 (someday). I'm hoping to add a deprecation warning to instrument(...) in the next release (rmosolgo/graphql-ruby#4771), trace_with is sufficient for those cases.

This PR moves GraphQL-Batch's hooks to trace_with, what do you think of that?

@rmosolgo
Copy link
Contributor Author

It looks like GraphQL-Ruby doesn't support Ruby 2.4 anymore 😅

@swalkinshaw
Copy link
Contributor

Fixed in #165

@rmosolgo
Copy link
Contributor Author

Thanks, I merged master into this branch 👍

@swalkinshaw swalkinshaw merged commit 1cd22b8 into Shopify:main Jan 17, 2024
12 checks passed
@rmosolgo rmosolgo deleted the use-trace-with branch January 18, 2024 03:15
@mgruner
Copy link

mgruner commented Jan 26, 2024

@swalkinshaw thank you very much. Do you plan to release this in a new version? That would be extremely helpful.

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.

None yet

3 participants