mongo_document_annotation 1.7.4 copy "mongo_document_annotation: ^1.7.4" to clipboard
mongo_document_annotation: ^1.7.4 copied to clipboard

Generate MongoDB CRUD code in Dart using @MongoDocument annotations - ideal for clean, scalable backend models.

150/ 160
pub points
709
downloads

We analyzed this package 2 days ago, and awarded it 150 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

789 out of 2358 API elements (33.5 %) have documentation comments.

Some symbols that are missing documentation: mongo_document_annotation, mongo_document_annotation.AEIterator.AEIterator.new, mongo_document_annotation.AEList.AEList.internal, mongo_document_annotation.AEList.AEList.new, mongo_document_annotation.AEList.build.

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 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:mongo_document_annotation/mongo_document_annotation.dart that imports:
  • package:mongo_dart/mongo_dart.dart that imports:
  • package:mongo_dart/src/extensions/file_ext.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Missing type annotation.

lib/src/expressions/mongo_expression.dart:37:23

   ╷
37 │   Expression near(var value, [double? maxDistance]) => RawExpression({
   │                       ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/expressions/mongo_expression.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
freezed_annotation >=2.4.4 <4.0.0 3.1.0 3.1.0
json_annotation ^4.9.0 4.9.0 4.9.0
meta ^1.16.0 1.17.0 1.17.0
mongo_dart ^0.10.5 0.10.5 0.10.5
path ^1.9.1 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
async - 2.13.0 2.13.0
basic_utils - 5.8.2 5.8.2
bson - 5.0.7 5.0.7
buffer - 1.2.3 1.2.3
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
decimal - 3.2.4 3.2.4
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
logging - 1.3.0 1.3.0
mongo_dart_query - 5.0.2 5.0.2
packages_extensions - 0.1.1 0.1.1
pointycastle - 4.0.0 4.0.0
pool - 1.5.2 1.5.2
posix - 6.0.3 6.0.3
power_extensions - 0.2.3 0.2.3
rational - 2.2.3 2.2.3
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.2 0.3.2
uuid - 4.5.2 4.5.2
vy_string_utils - 0.4.6 0.4.6
web - 1.1.1 1.1.1

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.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
150
points
709
downloads

Publisher

unverified uploader

Weekly Downloads

Generate MongoDB CRUD code in Dart using @MongoDocument annotations - ideal for clean, scalable backend models.

Repository (GitHub)
View/report issues

Topics

#mongodb #codegen #annotations #dart #backend

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

freezed_annotation, json_annotation, meta, mongo_dart, path

More

Packages that depend on mongo_document_annotation