Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: codec/types: use reflect.Type.Implements not mandatory casts
Creates a type from proto.Message which can be type asserted against with reflect.Type.Implements and is a quick check instead of firstly constructing an entire reflect.Value zero value then casting its value to an interface/any then manually type asserting against proto.Message. Fixes #17084
- Loading branch information