commit | 05bc4d3e85a45d3dc504d5d6946ee6a1b5573622 | [log] [tgz] |
---|---|---|
author | Sigurd Meldgaard <sigurdm@google.com> | Fri Aug 23 13:52:10 2019 +0200 |
committer | GitHub <noreply@github.com> | Fri Aug 23 13:52:10 2019 +0200 |
tree | 8997bb3ef4b66680637266cceaf868336822e8aa | |
parent | dbd8cb332952cb59df7bfd11de172431e28f2be9 [diff] |
Move well-known-type support code to mixins. (#264) * Move well-known-type support code to mixins. This makes it easier to implement support for additional well-known types as it moves more code away from being injected strings. The static methods still have to be injected, because you cannot mix in static methods. Changes mixin imports in generated code to use a prefix instead of a name. Also changes the import of dart:core to not use a `show` list. It was not needed after we use prefix imports. Also moves the protobuf/lib/src/mixins_meta.dart and associated tests to protoc_plugin/lib/mixins.dart. It was not used there.
This repository is home to packages related to support for the protobuf format for dart. It contains: