arobson / rabbot

Deprecated: Please see https://github.com/Foo-Foo-MQ/foo-foo-mq
MIT License
277 stars 129 forks source link

Refined content detection #139

Closed ptusch closed 6 years ago

ptusch commented 6 years ago

When you send an array in publish or request, it's for the subscriber not possible to decipher it because it will be considered a buffer (octet stream). Writing array structures as json seems a valid pattern but the serializer would not allow it and limit a user of rabbot to wrap array structure in an object body.

This PR also contains tests for these changes in the subscriber.

ptusch commented 6 years ago

Dang it, of course I failed the cherry pick.