gql_dio_link 0.3.0 copy "gql_dio_link: ^0.3.0" to clipboard
gql_dio_link: ^0.3.0 copied to clipboard

Similar to gql_http_link, gql_dio_link is a GQL Terminating Link to execute requests via Dio using JSON

33
likes
120/ 140
pub points
95%
popularity

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

36 out of 49 API elements (73.5 %) have documentation comments.

Some symbols that are missing documentation: gql_dio_link, gql_dio_link.DioLinkCanceledException, gql_dio_link.DioLinkCanceledException.DioLinkCanceledException, gql_dio_link.DioLinkCanceledException.originalStackTrace, gql_dio_link.DioLinkParserException.originalStackTrace.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 13 issues. Showing the first 2:

INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.

lib/src/dio_link.dart:53:36

   ╷
53 │   /// [dio.RequestOptions] of [dio.DioError] to be stripped out from thrown Exceptions, along with
   │                                    ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/dio_link.dart

INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.

lib/src/dio_link.dart:213:14

    ╷
213 │     } on dio.DioError catch (e, stackTrace) {
    │              ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/dio_link.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dio ^5.0.0 5.4.3+1 5.4.3+1
gql ^0.14.0 0.14.0 1.0.0+1
gql_exec ^0.4.3 0.4.3 1.0.0+1
gql_link ^0.5.1 0.5.1 1.0.0+1
meta ^1.3.0 1.15.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.14.0` on gql does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions gql to update the constraint.

The constraint `^0.4.3` on gql_exec does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions gql_exec to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.4.1.

Check the analysis log for details.

33
likes
120
pub points
95%
popularity

Publisher

verified publishergql-dart.dev

Similar to gql_http_link, gql_dio_link is a GQL Terminating Link to execute requests via Dio using JSON

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, gql, gql_exec, gql_link, meta

More

Packages that depend on gql_dio_link