mk_graphql 0.0.5 copy "mk_graphql: ^0.0.5" to clipboard
mk_graphql: ^0.0.5 copied to clipboard

GraphQL client created using dio as http client for more customization for every requests and cancel request.

1
likes
130/ 160
pub points
0%
popularity

We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/kishormainali/clean_cli was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/kishormainali/clean_cli/tree/main/packages/mk_graphql was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: mk_graphql,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

112 out of 165 API elements (67.9 %) have documentation comments.

Some symbols that are missing documentation: mk_graphql.CacheCipher, mk_graphql.CacheCipher.CacheCipher, mk_graphql.CacheCipher.decryptContent, mk_graphql.CacheCipher.encryptContent, mk_graphql.CacheOptions.copyWith.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:mk_graphql/mk_graphql.dart that imports:
  • package:mk_graphql/src/graph_client.dart that imports:
  • package:dio_http2_adapter/dio_http2_adapter.dart that imports:
  • package:dio_http2_adapter/src/http2_adapter.dart that imports:
  • package:http2/http2.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mk_graphql/mk_graphql.dart that imports:
  • package:mk_graphql/src/graph_client.dart that imports:
  • package:dio_http2_adapter/dio_http2_adapter.dart that imports:
  • package:dio_http2_adapter/src/http2_adapter.dart that imports:
  • package:http2/http2.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/exceptions/graphql_exception.freezed.dart:147:17

    ╷
147 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/exceptions/graphql_exception.freezed.dart:285:17

    ╷
285 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dio ^5.3.3 5.7.0 5.7.0
dio_cache_interceptor ^3.4.4 3.5.0 3.5.0
dio_http2_adapter ^2.3.1+1 2.5.3 2.5.3
freezed_annotation ^2.4.1 2.4.4 2.4.4
gql ^1.0.0 1.0.0+1 1.0.0+1
gql_exec ^1.0.0 1.0.0+1 1.0.0+1
json_annotation ^4.8.1 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.19.0 1.19.0
crypto - 3.0.5 3.0.5
dio_web_adapter - 2.0.0 2.0.0
fixnum - 1.1.0 1.1.0
http2 - 2.3.0 2.3.0
http_parser - 4.1.0 4.1.0
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 4.5.0 4.5.0
web - 1.0.0 1.0.0
yaml - 3.1.2 3.1.2

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Dart 3.5.2.

Check the analysis log for details.

1
likes
130
pub points
0%
popularity

Publisher

verified publisherkishormainali.com

GraphQL client created using dio as http client for more customization for every requests and cancel request.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

dio, dio_cache_interceptor, dio_http2_adapter, freezed_annotation, gql, gql_exec, json_annotation

More

Packages that depend on mk_graphql