immutable_proto_generator 0.0.5+1

  • Readme
  • Changelog
  • Installing
  • new53

See the immutable_proto' README for how to use this package.

License #

Copyright 2019 Jonas Wanke

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased #

0.0.5+1 - 2019-10-06 #

Fixed #

  • generator: reduce false positives when detecting nested messages/enums

0.0.5 - 2019-10-06

Changed #

  • generator: make enum values required

Fixed #

  • generator: reduce false positives when detecting nested enums

0.0.4 - 2019-10-04

Changed #

  • generator: prefer null to empty values in fromProto

Fixed #

  • generator: reduce false positives when detecting nested messages
  • generator: generate correct mappers for fields of type message

0.0.3 - 2019-10-03

Fixed #

  • update dependencies

0.0.2 - 2019-10-02

Added #

  • generator: support references to non-nested messages

0.0.1 - 2019-10-02 #

Initial release.

Use this package as a library

1. Depend on it

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


dependencies:
  immutable_proto_generator: ^0.0.5+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:immutable_proto_generator/immutable_proto_generator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
16
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
77
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

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

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: other

Primary library: package:immutable_proto_generator/immutable_proto_generator.dart with components: io, build, mirrors.

Health suggestions

Format lib/src/proto_field.dart.

Run dartfmt to format lib/src/proto_field.dart.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and immutable_proto_generator.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

The package description is too short. (-3 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
analyzer >=0.27.1 <1.0.0 0.38.5
build >=0.12.0 <2.0.0 1.2.0
immutable_proto ^0.0.5+1 0.0.5+1
kt_dart ^0.6.2 0.6.2
meta ^1.1.7 1.1.7
protobuf ^1.0.0 1.0.0
source_gen ^0.9.0 0.9.4+5
Transitive dependencies
args 1.5.2
async 2.4.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.3
csslib 0.16.1
dart_style 1.3.1
fixnum 0.10.9
front_end 0.1.27
glob 1.1.7
html 0.14.0+3
kernel 0.3.27
logging 0.11.3+2
package_config 1.1.0
path 1.6.4
pub_semver 1.4.2
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+12
yaml 2.2.0
Dev dependencies
build_runner >=0.9.0 <1.6.7
pedantic ^1.0.0 1.8.0+1