stripe / skycfg

Skycfg is an extension library for the Starlark language that adds support for constructing Protocol Buffer messages.
Apache License 2.0
646 stars 54 forks source link

Protobuf API V2: Add map, repeated, type conversions #88

Closed seena-stripe closed 3 years ago

seena-stripe commented 3 years ago

Summary

This PR adds a map and list implementation on top of the go protobuf v2 api, and adds type conversions (protoreflect.Value to/from starlark.Value). This is largely boilerplate, and is unused so it should not have any functional impact on Skycfg today.

Motivation

I am continuing the migration to the go protubuf v2 api, which is partially started on trunk

Tests