Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Support subscriptions extensions #3554
Support subscriptions extensions #3554
Changes from 78 commits
2c534a1
6525ee9
b92c51b
01a76cd
6ff3315
20bcfed
9ba707a
f69d746
060c719
62a130b
7b45bfa
e1db94b
70d2f4c
7f44c77
dc32183
5701d21
9dcb3fc
7e1c770
6a84415
222a4e5
4a0f1be
8fa0cec
fc7977b
81914a2
89e501b
29b5db8
1438390
cb917ab
ece37b4
50063c2
1c65fce
3ab7bb4
0533539
a6680c1
e6ca184
923699a
446dc5e
39a1beb
88f2bd5
2e9db61
9b166a3
9c57abd
8a8fd2a
bdb568b
062d9c0
9a1c071
dd909b3
b8f40a1
61154dc
e455da0
9a12488
f6a924c
f070858
fe86760
2bdfa9e
f8bf56d
7d702c7
945465e
5d10ad9
da0b46e
785d227
db3180f
4d7fa9e
3e55bc2
e0f4158
a0972a8
5567971
aa7a4bf
0dc97dd
e57d115
28f6b07
c728171
7f810c5
5b5b7ce
4df5523
ea1041e
a5e5068
6d5a754
d33dbd7
925d3e7
4c25c81
1fc8c54
d98bef2
66b0266
ee1ee1c
fd6bdaf
26f8437
835d1f4
9ce6ff0
da3b12a
7af8bc9
3ba6a83
83061ed
b65322e
87fd45d
5d37f83
cbd7c90
ea1e4fd
fdc2e4e
9e0d0aa
27b626b
56e0a6f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this should be a new hook or not, execute doesn't seem to be the right place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a heavy question. I tried to look some references in other implementations though it seems like we are pioneers 🙃
https://github.com/graphql-go/graphql/blob/f2b39caf7c92cab3f3f92726b55f59c74f54cfbc/subscription.go#L26
IMO a new hook might be better assuming
stream
anddefer
can benefit from it. otherwise I thinkexecute
should suffice.
Also I can't think of something you can do with the current
on_execute
that you can't do withon_operation
and no ready made extension uses it as well.