Open zedtux opened 3 years ago
When broadcasting an object via ActionCable doesn't seem to being presented by the serializer (while it does when fetched from an API).
It would be great to also have a support for ActionCable :)
current_user
NotificationsChannel.broadcast_to(current_user, Notification.last)
I've never used action cable. Does it have a renderer?
I will try to figure this out.
Expected behavior vs actual behavior
When broadcasting an object via ActionCable doesn't seem to being presented by the serializer (while it does when fetched from an API).
It would be great to also have a support for ActionCable :)
Steps to reproduce
current_user
NotificationsChannel.broadcast_to(current_user, Notification.last)