tengu-alt commented on code in PR #1838:
URL:
https://github.com/apache/cassandra-gocql-driver/pull/1838#discussion_r1824162262
##########
marshal.go:
##########
@@ -2280,7 +2280,7 @@ func marshalUDT(info TypeInfo, value interface{})
([]byte, error) {
}
if k.Kind() != reflect.Struct || !k.IsValid() {
- return nil, marshalErrorf("cannot marshal %T into %s", value,
info)
+ return nil, marshalErrorf("cannot marshal %T into %s. Accepted
types: Marshaler, unsetColumn, UDTMarshaler, UDTMarshaler,
map[string]interface{}, struct.", value, info)
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]