angel_orm_service 1.0.0

Dart native
Flutter Android iOS

Service implementation that wraps over Angel ORM Query classes.

0
likes
80 / 110
pub points
20 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 15 out of 19 API elements (78.9 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:angel_orm_service/angel_orm_service.dart that imports:
  • package:angel_framework/angel_framework.dart that imports:
  • package:angel_framework/src/core/core.dart that imports:
  • package:angel_framework/src/core/service.dart that imports:
  • package:angel_framework/src/core/server.dart that imports:
  • package:angel_framework/src/core/routable.dart that imports:
  • package:angel_framework/src/core/response_context.dart that imports:
  • package:angel_framework/src/core/request_context.dart that imports:
  • package:http_server/http_server.dart that imports:
  • package:http_server/src/http_multipart_form_data.dart that imports:
  • package:http_server/src/http_multipart_form_data_impl.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: DO use curly braces for all flow control structures.

lib/angel_orm_service.dart:71:19

   ╷
71 │                   descending = value == '-1';
   │                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/angel_orm_service.dart

INFO: Unnecessary new keyword.

lib/angel_orm_service.dart:123:11

    ╷
123 │       throw new AngelHttpException.notFound(
    │ ┌───────────^
124 │ │         message: 'No record found for ID $id');
    │ └──────────────────────────────────────────────^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/angel_orm_service.dart

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because angel_orm_service depends on angel_orm_test from path which doesn't exist (could not find package angel_orm_test at "../angel_orm_test"), version solving failed.

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

0
likes
80
pub points
20%
popularity

Publisher

angel-dart.dev

Service implementation that wraps over Angel ORM Query classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

angel_framework, angel_orm

More

Packages that depend on angel_orm_service