This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
router handler error: write: key from field *message.Commodity.XXX_NoUnkeyedLiteral: field type not supported for key extraction #14
Labels
question
Further information is requested
there is a bug,I use protoc command generate struct like this:
and I store the instance of Commodity,but get an error: *router handler error: write: key from field message.Commodity.XXX_NoUnkeyedLiteral: field type not supported for key extraction
I find that cckit would also handle the struct fileds like "XXX_NoUnkeyedLiteral" ,"XXX_unrecognized". I think they should be skipped.
I changed the source code file "state/mapping/state_mapping_opt.go" like this:
The text was updated successfully, but these errors were encountered: