-
Notifications
You must be signed in to change notification settings - Fork 730
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
Updates to work with App Sync Subscriptions #1919
Updates to work with App Sync Subscriptions #1919
Conversation
# Conflicts: # Sources/ApolloWebSocket/OperationMessage.swift
@cmcnally-beachbody: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/ |
@designatednerd Here is the update we discussed about two months ago to handle app sync subscriptions |
I'm at a conference but @calvincestari will be taking a look! |
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.
Thanks so much for the PR! I'll be honest, I don't know a lot about what this operation id is used for and why we need this PR. Can you explain a little bit about what this PR is trying to do so we can better review it please?
I'm thinking we might want to add some more documentation to this for the future.
I think this discussion we had started pretty much sums up the why behind needing this change. In our use case we will just be generating UUID strings as the identifiers - #1837 |
@cmcnally-beachbody - it looks like you and @johnclayton both work at the same place and have alignment on this. I want to make sure this solution works for the original request too if that's not the case. |
Yea we are good, I was just taking the original request over the line and we have just been using our own forked version for a bit. |
Tests/ApolloTests/WebSocket/TestCustomOperationMessageIdCreator.swift
Outdated
Show resolved
Hide resolved
Thanks for the contribution @cmcnally-beachbody and @johnclayton! This will go out with the next release, maybe only next week though as there is another PR we need to get out in that release too. |
Thank you @calvincestari and appreciate the help |
WSProtocol cases are named according to the protocol not the implementation so while is no named support of AWS AppSync specifically it implements the graphql-ws protocol, with the addition of |
Task
Closes #1837
Original Discussion - https://github.com/apollographql/apollo-ios/discussions/1820
Summary