Skip to content

Add initial connection parameter to WebSocketTransport#1458

Merged
designatednerd merged 2 commits intoapollographql:mainfrom
Backbone-Labs:winston/with-connection-param
Oct 20, 2020
Merged

Add initial connection parameter to WebSocketTransport#1458
designatednerd merged 2 commits intoapollographql:mainfrom
Backbone-Labs:winston/with-connection-param

Conversation

@winstondu
Copy link
Copy Markdown
Contributor

Our proposed solution to #1457

@apollo-cla
Copy link
Copy Markdown

@winstondu: 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
Copy link
Copy Markdown
Contributor

@winstondu Thanks for the PR! Are you assuming that the developer would just need to call updateHeaderValues or updateConnectingPayload, which both call reconnectWebSocket under the hood?

Comment thread Sources/ApolloWebSocket/WebSocketTransport.swift
@designatednerd
Copy link
Copy Markdown
Contributor

Test failures seem to be unrelated, I'm not sure what the hell is going on with circle right now

@designatednerd designatednerd linked an issue Oct 19, 2020 that may be closed by this pull request
@designatednerd
Copy link
Copy Markdown
Contributor

Are you able to build this locally? If so, would you mind rebasing back onto main in the hopes that it'll kick Circle hard enough for this to actually work? I don't see anything in here that would reasonably be causing the type of failure I'm seeing in circle without it failing on every other branch

Correct typo

Fix another typo
@winstondu winstondu force-pushed the winston/with-connection-param branch from bd74121 to 1586aef Compare October 19, 2020 20:20
@winstondu
Copy link
Copy Markdown
Contributor Author

@designatednerd , done.

Copy link
Copy Markdown
Contributor

@designatednerd designatednerd left a comment

Choose a reason for hiding this comment

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

OK good other than the docs

Comment thread Sources/ApolloWebSocket/WebSocketTransport.swift
@designatednerd
Copy link
Copy Markdown
Contributor

LOL CI is such a black box.

@winstondu
Copy link
Copy Markdown
Contributor Author

OK good other than the docs

Documentation updated.

Copy link
Copy Markdown
Contributor

@designatednerd designatednerd left a comment

Choose a reason for hiding this comment

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

Approved pending CI

@designatednerd designatednerd added this to the Next Release milestone Oct 19, 2020
@designatednerd designatednerd merged commit 185d6b7 into apollographql:main Oct 20, 2020
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.

Create WebsocketTransport without connecting automatically

3 participants