commit | 8ee364e4bfc291ff3ff9db8079ea3ff785617c7b | [log] [tgz] |
---|---|---|
author | Joe Tsai <joetsai@digital-static.net> | Fri Sep 06 00:19:33 2019 -0700 |
committer | Joe Tsai <joetsai@digital-static.net> | Mon Sep 09 18:58:35 2019 +0000 |
tree | 91a7c61d5105bb53bccf44920dd5a0637647525f | |
parent | 531a03af35424dc5dcbaefcb24a777eb39df0eef [diff] |
internal/impl: fix SetLazyValue Since the internal body calls ExtensionType.ValueOf, it seems that the intent is for lazyExtensionValue.value to store a: func() protoreflect.Value instead of a: func() interface{} This seems more apparent given that GetValue returns a pref.Value. Change-Id: I1679fe56088c20d5c8d36360e75dd773850da4c2 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/193757 Reviewed-by: Damien Neil <dneil@google.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.