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 3 days ago, and awarded it 110 pub points (of a possible 140):
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.
- contains
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
.
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
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
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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^5.3.3 |
5.4.3+1 | 5.4.3+1 |
dio_cache_interceptor |
^3.4.4 |
3.5.0 | 3.5.0 |
dio_http2_adapter |
^2.3.1+1 |
2.5.2 | 2.5.2 |
freezed_annotation |
^2.4.1 |
2.4.1 | 2.4.1 |
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.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
fixnum |
- | 1.1.0 | 1.1.0 |
http2 |
- | 2.3.0 | 2.3.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
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.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.4.0 | 4.4.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
Analyzed with Pana 0.22.3
, Dart 3.4.0
.
Check the analysis log for details.