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

feat(Query::Result) add a first-class result object #898

Merged
merged 2 commits into from
Aug 20, 2017
Merged

Conversation

rmosolgo
Copy link
Owner

Sometimes you need query-related data, but Schema#execute returns a hash. You can work around this using Query#result, but then you can't do multiplexing. So, let's attach query data to the Query::Result.

Specifically, I need this for subscriptions: after running a query, we should open a channel for updates if result.query.subscription?

@rmosolgo rmosolgo changed the base branch from master to 1.7.x August 18, 2017 02:31
@rmosolgo rmosolgo added this to the 1.7.0 milestone Aug 18, 2017
@rmosolgo rmosolgo merged commit d5aa35d into 1.7.x Aug 20, 2017
@rmosolgo rmosolgo deleted the query-result branch January 26, 2018 13:31
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