protobuf-go/types
Damien Neil 1bca6d9b7d types/dynamicpb: add NewTypes
Add a function to construct a dynamic type registry from a
protoregistry.Files. The NewTypes constructor takes a concrete
Files to permit future improvements based on changes to Files.
(For example, we might add a Files.FindExtensionByNumber
method, which Types could take advantage of.)

Fixes golang/protobuf#1216

Change-Id: I61edba0a94528829d40f69fad773ccb5912859e0
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/489316
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Lasse Folger <lassefolger@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
2023-04-28 07:55:56 +00:00
..
descriptorpb all: update protobuf release version to fix macOS tests 2023-04-26 20:34:47 +00:00
dynamicpb types/dynamicpb: add NewTypes 2023-04-28 07:55:56 +00:00
known all: update protobuf release version to fix macOS tests 2023-04-26 20:34:47 +00:00
pluginpb types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00