mk_graphql 0.0.5
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.
We analyzed this package 46 hours ago, and awarded it 130 pub points (of a possible 160):
10/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.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
112 out of 172 API elements (65.1 %) have documentation comments.
Some symbols that are missing documentation: mk_graphql.BackupCacheStore.BackupCacheStore.new
, mk_graphql.CacheCipher
, mk_graphql.CacheCipher.CacheCipher.new
, mk_graphql.CacheCipher.decryptContent
, mk_graphql.CacheCipher.encryptContent
.
10/10 points: Package has an example
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.
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
^5.3.3 |
5.8.0+1 | 5.8.0+1 | |
dio_cache_interceptor |
^3.4.4 |
3.5.1 | 4.0.3 | |
dio_http2_adapter |
^2.3.1+1 |
2.6.0 | 2.6.0 | |
freezed_annotation |
^2.4.1 |
2.4.4 | 3.1.0 | |
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 | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.4.4` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor
to update the constraint.
The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation
to update the constraint.
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.21
, Dart 3.8.1
.
Check the analysis log for details.