node-redis-pubsub icon indicating copy to clipboard operation
node-redis-pubsub copied to clipboard

library should support non json messages too

Open assadvirgo opened this issue 6 years ago • 1 comments

with the current version, library test for the json messages and if its not a valid json it simply throws the error. However if we want to subscribe to events like "expired" they don't return a json object.

assadvirgo avatar Oct 30 '18 11:10 assadvirgo

Good point!

A PR with unit tests would be very much welcome for this change. 😀

RangerMauve avatar Oct 30 '18 13:10 RangerMauve