cactus_sync_client_gen 0.3.0
cactus_sync_client_gen: ^0.3.0 copied to clipboard
Library for cacus sync client to generate graphql models, states and types
We analyzed this package 2 days ago, and awarded it 120 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://xsoulspace.dev/cactus-sync 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/cactus-sync/dart_packages/cactus_sync_client 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 7 API elements (14.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: cactus_sync_client_gen, cactus_sync_client_gen.modelBuilder, utils, utils.FromJsonCallback, utils.StringUtil.toCamelCase.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:cactus_sync_client_gen/cactus_sync_client_gen.dartthat imports:package:cactus_sync_client_gen/src/model_builder.dartthat imports:package:cactus_sync_client_gen/src/gql_dart_formatter.dartthat imports:package:dart_style/dart_style.dartthat imports:package:dart_style/src/exceptions.dartthat imports:package:analyzer/error/error.dartthat imports:package:analyzer/src/error/error_code_values.g.dartthat imports:package:analyzer/src/generated/parser.dartthat imports:package:analyzer/src/fasta/ast_builder.dartthat imports:package:analyzer/src/generated/utilities_dart.dartthat imports:package:analyzer/src/dart/element/element.dartthat imports:package:analyzer/src/summary2/reference.dartthat imports:package:analyzer/dart/element/element.dartthat imports:package:analyzer/src/generated/engine.dartthat imports:package:analyzer/error/listener.dartthat imports:package:analyzer/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type.dartthat imports:package:analyzer/src/dart/element/type_system.dartthat imports:package:analyzer/src/dart/resolver/flow_analysis_visitor.dartthat imports:package:analyzer/src/generated/variable_type_provider.dartthat imports:package:analyzer/dart/ast/ast.dartthat imports:package:analyzer/src/dart/ast/ast.dartthat imports:package:analyzer/src/generated/resolver.dartthat imports:package:analyzer/src/generated/static_type_analyzer.dartthat imports:package:analyzer/src/dart/resolver/invocation_inference_helper.dartthat imports:package:analyzer/src/dart/resolver/invocation_inferrer.dartthat imports:package:analyzer/src/dart/element/type_algebra.dartthat imports:package:analyzer/src/summary2/record_type_builder.dartthat imports:package:analyzer/src/dart/element/type_visitor.dartthat imports:package:analyzer/src/summary2/named_type_builder.dartthat imports:package:analyzer/src/summary2/link.dartthat imports:package:analyzer/src/summary2/types_builder.dartthat imports:package:analyzer/src/dart/element/member.dartthat imports:package:analyzer/dart/analysis/session.dartthat imports:package:analyzer/file_system/file_system.dartthat imports:package:analyzer/src/file_system/file_system.dartthat imports:package:analyzer/src/util/uri.dartthat imports:package:analyzer/src/summary/package_bundle_reader.dartthat imports:package:analyzer/src/generated/source.dartthat imports:package:analyzer/src/context/source.dartthat imports:package:analyzer/src/workspace/pub.dartthat imports:package:analyzer/src/workspace/workspace.dartthat imports:package:analyzer/src/workspace/blaze.dartthat imports:package:analyzer/src/workspace/blaze_watcher.dartthat imports:package:watcher/watcher.dartthat imports:package:watcher/src/file_watcher/polling.dartthat imports:package:watcher/src/polling.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 133 issues. Showing the first 2:
INFO: The parameter 'options' should be final.
lib/cactus_sync_client_gen.dart:7:22
╷
7 │ Builder modelBuilder(BuilderOptions options) => ModelBuilder();
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cactus_sync_client_gen.dart
INFO: Classes should define instance members.
lib/src/gql_dart_formatter.dart:5:1
╷
5 │ ┌ class GqlDartFormatter {
6 │ │ static String formatAndStringify({
7 │ │ required Spec spec,
8 │ │ }) {
9 │ │ final emitter = DartEmitter(
10 │ │ // allocator: Allocator.simplePrefixing(),
11 │ │ useNullSafetySyntax: true,
12 │ │ );
13 │ │
14 │ │ final formattedStr =
15 │ │ DartFormatter().format("${spec.accept(emitter)}").unindent();
16 │ │
17 │ │ return formattedStr;
18 │ │ }
19 │ └ }
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/gql_dart_formatter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
build |
^2.1.0 |
2.4.1 | 4.0.4 | |
built_collection |
^5.0.0 |
5.1.1 | 5.1.1 | |
built_value |
^8.0.6 |
8.12.3 | 8.12.3 | |
code_builder |
^4.0.0 |
4.11.1 | 4.11.1 | |
dart_style |
^2.1.0 |
2.3.6 | 3.1.5 | |
equatable |
^2.0.0 |
2.0.8 | 2.0.8 | |
gql |
^0.13.0 |
0.13.1 | 1.0.1 | |
graphql |
^5.0.0 |
5.1.1 | 5.2.3 | |
indent |
^2.0.0 |
2.0.0 | 2.0.0 | |
json_annotation |
^4.1.0 |
4.10.0 | 4.10.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
riverpod |
^0.14.0+3 |
0.14.0+3 | 3.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 67.0.0 | 94.0.0 | |
analyzer |
- | 6.4.1 | 10.0.2 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
freezed_annotation |
- | 0.14.3 | 3.1.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
gql_dedupe_link |
- | 2.0.2 | 4.0.0 | |
gql_error_link |
- | 0.2.2 | 1.0.1 | |
gql_exec |
- | 0.4.0 | 1.0.0+1 | |
gql_http_link |
- | 0.4.2 | 1.2.0 | |
gql_link |
- | 0.4.2 | 1.1.0 | |
gql_transform_link |
- | 0.2.2 | 1.0.1 | |
hive |
- | 2.2.3 | 2.2.3 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
meta |
- | 1.18.1 | 1.18.1 | |
normalize |
- | 0.6.0+1 | 0.10.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rxdart |
- | 0.27.7 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 0.7.2+1 | 1.0.0 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 | |
yaml |
- | 3.1.3 | 3.1.3 |
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.1.0` on build does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions build to update the constraint.
The constraint `^2.1.0` on dart_style does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions dart_style 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.9, Dart 3.10.8.
Check the analysis log for details.