Sync Kythe metadata updates from internal repo. (#223)

Remove the extra 1 (field name) from generated field paths, so they refer to the whole field rather than the name.

Add missing proto message field metadata to the Dart proto generator (attached to setter/getter/has/clear methods). Fix a bug with indented space counting, which would cause all indented fields to use the incorrect count (off by the size of the indent).

Add metadata to the unnamed constructors in the generated dart proto files. Also removed extra list copy constructor calls when the field path isn't being modified. The named constructors (e.g. fromJson) don't need this because, at the call site, the class name and the constructor name are two separate links.
13 files changed
tree: 5a044385e39ff64669a921e0fa3fc9a1ba7f00aa
  1. api_benchmark/
  2. protobuf/
  3. protoc_plugin/
  4. query_benchmark/
  5. tool/
  6. .gitignore
  7. .travis.yml
  8. analysis_options.yaml
  9. mono_repo.yaml
  10. README.md
README.md

Protobuf support for dart

Build Status

This repository is home to packages related to support for the protobuf format for dart. It contains: