Skip to content

[azservicebus] Add testing for primitive data types.#17267

Merged
richardpark-msft merged 2 commits intoAzure:mainfrom
richardpark-msft:sb-datatypes
Mar 9, 2022
Merged

[azservicebus] Add testing for primitive data types.#17267
richardpark-msft merged 2 commits intoAzure:mainfrom
richardpark-msft:sb-datatypes

Conversation

@richardpark-msft
Copy link
Copy Markdown
Member

@richardpark-msft richardpark-msft commented Mar 9, 2022

This adds in some tests for #17047, where we were concerned about which primitives can be both sent and deserialized properly.

go-amqp currently lacks support for decoding/encoding the AMQP primitives for TypeCodeDecimal and TypeCodeChar. These don't necessarily have a proper analog where we'd properly round-trip them so we'd need to think about how to implement this in Go, if needed.

Fixes #17047

ripark added 2 commits March 9, 2022 14:29
Moved a test thatw as a unit test into the appropriate receiver_unit_test.go file.
@richardpark-msft richardpark-msft enabled auto-merge (squash) March 9, 2022 22:36
@richardpark-msft richardpark-msft merged commit 834d268 into Azure:main Mar 9, 2022
@richardpark-msft richardpark-msft deleted the sb-datatypes branch March 10, 2022 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[servicebus] Check SDK support described types in message serialization and deserialization

2 participants