beacon icon indicating copy to clipboard operation
beacon copied to clipboard

Missing implementation of some members in GraphQLWebSocketChannel

Open tanisha083 opened this issue 1 year ago • 1 comments

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 avatar Apr 03 '23 07:04 tanisha083

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.

tanisha083 avatar Apr 26 '23 08:04 tanisha083