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

Add ApolloWebSocketHandler #5291

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Add ApolloWebSocketHandler #5291

merged 1 commit into from
Oct 10, 2023

Conversation

martinbonnin
Copy link
Contributor

ApolloWebSocketHandler is higher level and allows to hide the implementation details of the WebSocket messages.

Also part of this PR is wrapping dataOrThrow() exceptions in NoDataException for better stacktraces

@martinbonnin martinbonnin requested a review from BoD as a code owner October 10, 2023 15:56
Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

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

👍

@martinbonnin martinbonnin merged commit 8945651 into apollo-execution Oct 10, 2023
@martinbonnin martinbonnin deleted the wbsocket-errors branch October 10, 2023 16:44
martinbonnin added a commit that referenced this pull request Oct 12, 2023
* add apollo-execution and apollo-ksp

* Allo to disable publication of modules (#5282)

* move build logic to plain APIS

* disable publishing

* remove unused function

* enable publishing of apollo-normalized-cache-*-incubating

* add comment

* remove unused source/target compatibility. They are overriden by --release

* Use apollo-execution in our integration tests (#5288)

* use apollo-execution for integration tests

* unhide a bunch of internals

* more comments

* hide some of the websocket implementation (#5291)

* Make CodegenLayout internal again, use CodegenMetadata.resolveSchemaType instead (#5292)

* make CodegenLayout internal again, use CodegenMetadata.resolveSchemaType instead

* Update libraries/apollo-ksp/src/main/kotlin/com/apollographql/apollo3/ksp/ksp-validation.kt

Co-authored-by: Benoit Lubek <[email protected]>

---------

Co-authored-by: Benoit Lubek <[email protected]>

---------

Co-authored-by: Benoit Lubek <[email protected]>
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.

2 participants