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

ActionCable: don't use send action #4793

Merged
merged 1 commit into from
Jan 23, 2024
Merged

ActionCable: don't use send action #4793

merged 1 commit into from
Jan 23, 2024

Conversation

rmosolgo
Copy link
Owner

Oops -- somehow this entered back in cf0a3fe#diff-9957e220f3cd45075c8bd11a71aa74970869a76e46eaff6007685295c806c6fdR45, but I don't think it should be there.

Fixes #4792

["execute", { operationId: "client-1/abcdef", operationName: "", query: "", variables: {} }],
["onNext", { data: { a: "1" } }],
["onCompleted", null],
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that the previous assertion here was added after-the-fact, based on the assumption that the code worked. I'm removing that -- and adding tests for a couple other hooks in the meantime.

@rmosolgo rmosolgo merged commit 4d0b36a into master Jan 23, 2024
12 checks passed
@rmosolgo rmosolgo deleted the action-cable-send-fix branch January 23, 2024 18:31
@rmosolgo
Copy link
Owner Author

🚢 in graphql-ruby-client 1.13.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't get ActionCable subscriptions to work
1 participant