You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a bunch of Protobuf-based objects, which we use code generation to generate the ItemMarshaler and ItemUnmarshaler functions.
Since the new encoder went in #224 -- it looks like all struct fields are recursively scanned for support, even if the top level struct implements the Marshaler and Unmarshaler functions.
This leads to an error like this when we try to use dynamo:
dynamo marshal: unsupported type structpb.isValue_Kind
Hello!
We have a bunch of Protobuf-based objects, which we use code generation to generate the
ItemMarshaler
andItemUnmarshaler
functions.Since the new encoder went in #224 -- it looks like all struct fields are recursively scanned for support, even if the top level struct implements the Marshaler and Unmarshaler functions.
This leads to an error like this when we try to use
dynamo
:This is a nested field under one of our objects [our object as a Field of -> struct.Struct -> struct.Value]
https://pkg.go.dev/google.golang.org/protobuf/types/known/structpb#Value
Is it possible, if the top level object passed in implements the Marhsler interface, to not recursively scan the type?
The text was updated successfully, but these errors were encountered: