[
https://issues.apache.org/jira/browse/PROTON-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253940#comment-16253940
]
ASF subversion and git services commented on PROTON-1686:
---------------------------------------------------------
Commit 9de60a86f5bdb3a47bfc0015a1e5ff9c595fa5de in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=9de60a8 ]
PROTON-1686: [go] unmarshal maps with illegal key types
Also improved error handling
- Only raise MarshalError and UnmarshalError, added special EndOfData error
- Recover panics in-line, produces a more helpful stack trace.
- Improved error handling for enter/exit data types.
> [go] unmarshal maps with illegal key types
> ------------------------------------------
>
> Key: PROTON-1686
> URL: https://issues.apache.org/jira/browse/PROTON-1686
> Project: Qpid Proton
> Issue Type: Bug
> Components: go-binding
> Affects Versions: proton-c-0.18.1
> Environment: Normally AMQP maps are unmarshalled as Go maps, however
> Go has restrictions on the types that are allowed as a map Key. Also,
> unmarshalling ot a Go map does not preserve the wire-order of the map.
> Add a Go type AnyMap which is a slice of interface{} pairs to represent the
> most general case of an AMQP map which allows arbitrary key values and
> preserves wire order, for unusual interop cases.
> Reporter: Alan Conway
> Assignee: Alan Conway
> Fix For: proton-c-0.19.0
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]