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

Missing implementation of some members in GraphQLWebSocketChannel #203

Open
tanisha083 opened this issue Apr 3, 2023 · 1 comment · May be fixed by #204
Open

Missing implementation of some members in GraphQLWebSocketChannel #203

tanisha083 opened this issue Apr 3, 2023 · 1 comment · May be fixed by #204

Comments

@tanisha083
Copy link
Contributor

tanisha083 commented Apr 3, 2023

Describe the bug
This error occurs when there is an issue with the implementation of some members in the GraphQLWebSocketChannel class.

Demonstration
Screenshot 2023-04-03 at 12 20 02 PM

Environment

  • OS (Android): Android 9
  • Flutter version: Flutter 3.7.8

Are you working on this issue? (Yes)

@tanisha083 tanisha083 linked a pull request Apr 3, 2023 that will close this issue
@tanisha083
Copy link
Contributor Author

This error occurred due to a version incompatibility issue with the web_socket_channel library, which was a transitive dependency of graphql. At first, adding dependency overrides to pubspec.yaml solved the problem, but later on, because we use caret syntax versioning in our codebase, the transitive dependency version of web_socket_channel was changed to a compatible version. The initial versions were web_socket_channel 2.3.0 and graphql 5.1.2. Later on, web_socket_channel 2.2.0 and graphql 5.1.3 were being used, which resolved the error. (https://github.com/zino-hofmann/graphql-flutter/blob/main/packages/graphql/CHANGELOG.md)

This made the issue and the related PR useless hence closing them.

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 a pull request may close this issue.

1 participant