clean_graphql 1.0.3
clean_graphql: ^1.0.3 copied to clipboard
Wrapper around ferry for clean architecture to handle graphql request, uses ferry and dio under the hood
We analyzed this package in the last hour, and awarded it 130 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
272 out of 414 API elements (65.7 %) have documentation comments.
Some symbols that are missing documentation: clean_core.CursorPagination, clean_core.CursorPagination.CursorPagination.new, clean_core.CursorPagination.copyWith, clean_core.CursorPagination.endCursor, clean_core.CursorPagination.startCursor.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:clean_graphql/clean_graphql.dartthat imports:package:clean_graphql/src/graphql_client.dartthat imports:package:clean_graphql/src/_dio_link.dartthat imports:package:clean_graphql/src/_utils.dartthat imports:package:_clean_flutter_internal/_clean_flutter_internal.dartthat imports:package:_clean_flutter_internal/src/network/network.dartthat imports:package:_clean_flutter_internal/src/network/network_info.dartthat imports:package:_clean_flutter_internal/src/network/_network_info_impl.dartthat imports:package:internet_connection_checker_plus/internet_connection_checker_plus.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:clean_graphql/clean_graphql.dartthat imports:package:clean_graphql/src/graphql_client.dartthat imports:package:clean_graphql/src/_dio_link.dartthat imports:package:clean_graphql/src/_utils.dartthat imports:package:_clean_flutter_internal/_clean_flutter_internal.dartthat imports:package:_clean_flutter_internal/src/network/network.dartthat imports:package:_clean_flutter_internal/src/network/network_info.dartthat imports:package:_clean_flutter_internal/src/network/_network_info_impl.dartthat imports:package:internet_connection_checker_plus/internet_connection_checker_plus.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:clean_graphql/clean_graphql.dartthat imports:package:clean_graphql/src/graphql_client.dartthat imports:package:clean_graphql/src/_dio_link.dartthat imports:package:clean_graphql/src/_utils.dartthat imports:package:_clean_flutter_internal/_clean_flutter_internal.dartthat imports:package:_clean_flutter_internal/src/network/network.dartthat imports:package:_clean_flutter_internal/src/network/network_info.dartthat imports:package:_clean_flutter_internal/src/network/_network_info_impl.dartthat imports:package:internet_connection_checker_plus/internet_connection_checker_plus.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:clean_graphql/clean_graphql.dartthat imports:package:clean_graphql/src/graphql_client.dartthat imports:package:clean_graphql/src/_dio_link.dartthat imports:package:clean_graphql/src/_utils.dartthat imports:package:_clean_flutter_internal/_clean_flutter_internal.dartthat imports:package:_clean_flutter_internal/src/network/network.dartthat imports:package:_clean_flutter_internal/src/network/network_info.dartthat imports:package:_clean_flutter_internal/src/network/_network_info_impl.dartthat imports:package:internet_connection_checker_plus/internet_connection_checker_plus.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package not compatible with platform Web
Because:
package:clean_graphql/clean_graphql.dartthat imports:package:clean_graphql/src/graphql_client.dartthat imports:package:clean_graphql/src/client_options.dartthat imports:package:fp_logger/fp_logger.dartthat imports:package:fp_logger/src/fp_logger.dartthat imports:package:fp_logger/src/graphql_dio_logger.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:clean_graphql/clean_graphql.dartthat imports:package:clean_graphql/src/graphql_client.dartthat imports:package:clean_graphql/src/client_options.dartthat imports:package:fp_logger/fp_logger.dartthat imports:package:fp_logger/src/fp_logger.dartthat imports:package:fp_logger/src/graphql_dio_logger.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Library names are not necessary.
lib/clean_core.dart:2:9
╷
2 │ library clean_core;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/clean_core.dart
INFO: Library names are not necessary.
lib/clean_graphql.dart:2:9
╷
2 │ library clean_graphql;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/clean_graphql.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_clean_flutter_internal |
^1.0.5 |
1.0.5 | 1.0.5 | Discontinued |
built_value |
^8.9.2 |
8.13.0 | 8.13.0 | |
dio |
^5.5.0+1 |
5.11.1 | 5.11.1 | |
equatable |
^2.0.5 |
2.1.0 | 3.0.0 | |
ferry |
^0.16.0+1 |
0.16.1+2 | 0.16.1+2 | |
fp_logger |
^1.0.1 |
1.0.10 | 3.1.5 | |
gql |
^1.0.0+1 |
1.0.1 | 1.0.1 | |
gql_exec |
^1.0.0+1 |
1.0.0+1 | 1.0.0+1 | |
http_parser |
any |
4.1.2 | 4.1.2 | |
meta |
any |
1.19.0 | 1.19.0 | |
mime |
^1.0.5 |
1.0.6 | 2.1.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ansicolor |
- | 2.0.3 | 2.0.3 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clean_analysis |
- | 1.0.2 | 1.0.2 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus |
- | 7.3.1 | 7.3.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.15 | 0.8.0 | |
dio_http2_adapter |
- | 2.9.0 | 2.9.0 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ferry_cache |
- | 0.10.1 | 0.10.1 | |
ferry_exec |
- | 0.7.0 | 0.7.0 | |
ferry_store |
- | 0.6.1 | 0.6.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
gql_link |
- | 1.0.0+1 | 1.1.0 | |
hive |
- | 2.2.3 | 2.2.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
internet_connection_checker_plus |
- | 2.9.1+2 | 3.1.2 | |
intl |
- | 0.19.0 | 0.20.3 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
nm |
- | 0.5.0 | 0.5.0 | |
normalize |
- | 0.10.0 | 0.10.0 | |
pedantic |
- | 1.11.1 | 1.11.1 | Discontinued |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^2.0.5` on equatable does not support the stable version `3.0.0`, that was published 1 days ago.
When equatable is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions equatable to update the constraint.
The constraint `^1.0.1` on fp_logger does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions fp_logger 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.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.