redstone_database_plugin 0.3.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 61

redstone_database_plugin

Build Status Pub version

redstone_database_plugin is a fork of redstone_mapper.

redstone_database_plugin is a set of utilities for handling common tasks including:

  • Encoding and decoding of objects with serializer.
  • Database connection management.
  • Encoding and decoding of objects to the database.

See examples/server_example.dart for usage.

Changelog

0.3.1

  • Add serializer version to any

0.3.0

  • Add DataLogger

0.2.1

  • Fix issue decoding List

0.2.0

  • Update to serializer 0.5.0

Breaking changes:

  • Use a fork of redstone with updated DI

0.1.5

  • Add serializer parameter in getDatabasePlugin

0.1.4

  • Fix query parameters decoding

0.1.3

  • Prefer to throw exception instead of sending an error response during serialization

0.1.2

  • Add useTypeInfo field in Decode/Encode annotations

0.1.1

  • Encode response as Map or List (toPrimaryObject instead of encode)

0.1.0+1

  • Fix typo

0.1.0

  • Initial version

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  redstone_database_plugin: "^0.3.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:redstone_database_plugin/database.dart';

import 'package:redstone_database_plugin/plugin.dart';
        
Version Uploaded Documentation Archive
0.3.1 Mar 24, 2017 Go to the documentation of redstone_database_plugin 0.3.1 Download redstone_database_plugin 0.3.1 archive
0.3.0 Jan 27, 2017 Go to the documentation of redstone_database_plugin 0.3.0 Download redstone_database_plugin 0.3.0 archive
0.2.1 Jan 5, 2017 Go to the documentation of redstone_database_plugin 0.2.1 Download redstone_database_plugin 0.2.1 archive
0.2.0 Nov 1, 2016 Go to the documentation of redstone_database_plugin 0.2.0 Download redstone_database_plugin 0.2.0 archive
0.1.5 Sep 5, 2016 Go to the documentation of redstone_database_plugin 0.1.5 Download redstone_database_plugin 0.1.5 archive
0.1.4 Sep 1, 2016 Go to the documentation of redstone_database_plugin 0.1.4 Download redstone_database_plugin 0.1.4 archive
0.1.3 Aug 18, 2016 Go to the documentation of redstone_database_plugin 0.1.3 Download redstone_database_plugin 0.1.3 archive
0.1.2 Aug 14, 2016 Go to the documentation of redstone_database_plugin 0.1.2 Download redstone_database_plugin 0.1.2 archive
0.1.1 Jul 31, 2016 Go to the documentation of redstone_database_plugin 0.1.1 Download redstone_database_plugin 0.1.1 archive
0.1.0+1 Jul 26, 2016 Go to the documentation of redstone_database_plugin 0.1.0+1 Download redstone_database_plugin 0.1.0+1 archive

All 11 versions...

Analysis

We analyzed this package on Apr 9, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.46.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
29 / 100
Health:
Code health derived from static analysis. [more]
95 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90 / 100
Overall score:
Weighted score of the above. [more]
61
Learn more about scoring.

Platforms

Detected platforms: web, other

Platform components identified in package: mirrors.

Suggestions

  • Use constrained dependencies.

    The pubspec.yaml contains 2 dependencies without version constraints. Specify version ranges for the following dependencies: redstone, serializer.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 warning 1 hint.

    Strong-mode analysis of lib/plugin.dart gave the following warning:

    line: 109 col: 26
    A function of type '(String, List<String>) → Null' can't be assigned to a location of type '(dynamic, dynamic) → void'.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use redstone_database_plugin.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
redstone 0.6.7
serializer any 0.7.1
Transitive dependencies
analyzer 0.31.1 0.31.2-alpha.1
args 1.4.1
async 1.13.3 2.0.6
barback 0.15.2+15
charcode 1.1.1
cli_util 0.1.2+1
code_transformers 0.5.1+4
collection 1.14.9
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
di 3.3.10
front_end 0.1.0-alpha.9 0.1.0-alpha.11
glob 1.1.5
grinder 0.8.1
html 0.13.3
http 0.11.3+16
http_parser 3.1.1
http_server 0.9.7
isolate 1.1.0 2.0.0
kernel 0.3.0-alpha.9 0.3.0-alpha.11
logging 0.11.3+1
meta 1.1.2
mime 0.9.6
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
pool 1.3.4
route_hierarchical 0.7.0
shelf 0.6.8 0.7.2
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.4
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
test ^0.12.0