Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
func Resolve[C proto.Message]( options proto.Message, extensionType protoreflect.ExtensionType, ) (typedMessage C)
Resolve resolves extensions without using proto.GetExtension, in case the underlying type of the extension is not the concrete type expected by the library. In some cases, particularly when using a dynamic descriptor set, the underlying extension value's type will be a dynamicpb.Message. In some cases, the extension may not be resolved at all. This function handles reparsing the fields as needed to get it into the right concrete message. Resolve does not modify the input protobuf message, so it can be used concurrently.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.