leto_schema 0.0.1-dev.6 copy "leto_schema: ^0.0.1-dev.6" to clipboard
leto_schema: ^0.0.1-dev.6 copied to clipboard

An implementation of GraphQL's type system in Dart. Basis of leto.

130/ 160
pub points
1.45k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting leto_schema... Discovering libraries... ERR: dartdoc 9.0.9 (/home/worker/dartdoc/build/dartdoc) failed: Null check operator used on a null value #0 CommentReferenceResolver._resolveSimpleIdentifier (package:analyzer/src/dart/resolver/comment_reference_resolver.dart:165) #1 CommentReferenceResolver._resolvePrefixedIdentifierReference (package:analyzer/src/dart/resolver/comment_reference_resolver.dart:59) #2 CommentReferenceResolver.resolve (package:analyzer/src/dart/resolver/comment_reference_resolver.dart:39) #3 ElementResolver.visitCommentReference (package:analyzer/src/generated/element_resolver.dart:108) #4 ResolverVisitor.visitCommentReference (package:analyzer/src/generated/resolver.dart:2402) #5 CommentReferenceImpl.accept (package:analyzer/src/dart/ast/ast.dart:5763) #6 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:24003) #7 WithClauseImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:35354) #8 ResolverVisitor.visitComment (package:analyzer/src/generated/resolver.dart:2393) [42 more lines]

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 251 issues. Showing the first 2:

WARNING: The URI 'package:lint/package.yaml' included in '/tmp/pana_GFVLHS/lib/analysis_options.yaml' can't be found when analyzing '/tmp/pana_GFVLHS'.

lib/analysis_options.yaml:1:10

  ╷
1 │ include: package:lint/package.yaml
  │          ^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/analysis_options.yaml

WARNING: The annotation 'override' can only be used on fields, getters, methods, or setters.

lib/src/error.dart:156:4

    ╷
156 │   @override
    │    ^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.16.0 1.19.1 1.19.1
gql ^1.0.0 1.0.1 1.0.1
meta ^1.0.0 1.19.0 1.19.0
source_span ^1.0.0 1.10.2 1.10.2
Transitive dependencies
Package Constraint Compatible Latest Notes
path - 1.9.1 1.9.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
yaml - 3.1.3 3.1.3

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
1.45k
downloads

Publisher

unverified uploader

Weekly Downloads

An implementation of GraphQL's type system in Dart. Basis of leto.

Repository (GitHub)
View/report issues

Topics

#graphql #protocol #schema #language #specification

License

MIT (license)

Dependencies

collection, gql, meta, source_span

More

Packages that depend on leto_schema