Skip to content

Comments

feat: Use WampPayloadValue instead of WampArg in payloads#2

Merged
frol merged 4 commits intoelast0ny:masterfrom
frol:feature/introduce-WampPayloadValue
Sep 10, 2020
Merged

feat: Use WampPayloadValue instead of WampArg in payloads#2
frol merged 4 commits intoelast0ny:masterfrom
frol:feature/introduce-WampPayloadValue

Conversation

@frol
Copy link
Collaborator

@frol frol commented Sep 6, 2020

Payloads [positional and keyword arguments] should be able to use any type that can be serialized with the serialization format.

The application payloads transmitted by WAMP (e.g. in call arguments or event payloads) may use other types a concrete serialization format supports.

WAMP-proto specification

Resolves #1: It is a breaking change to the API, so it should be 0.2.0 release.

/cc @afilini

… and keyword arguments] to enable using any type that can be serialized with the serialization format
@afilini
Copy link

afilini commented Sep 7, 2020

I can confirm that this works with the backend that returns negative integers, thanks!

@frol frol merged commit 7e90482 into elast0ny:master Sep 10, 2020
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.

2 participants