tengu-alt commented on code in PR #1838:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1838#discussion_r1854029695


##########
marshal.go:
##########
@@ -2392,7 +2394,7 @@ func unmarshalUDT(info TypeInfo, data []byte, value 
interface{}) error {
        }
        k := rv.Elem()
        if k.Kind() != reflect.Struct || !k.IsValid() {
-               return unmarshalErrorf("cannot unmarshal %s into %T", info, 
value)
+               return unmarshalErrorf("cannot unmarshal %s into %T. Accepted 
types: Unmarshaler, UDTUnmarshaler, *map[string]interface{}, struct.", info, 
value)

Review Comment:
   Fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to