Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionCable support? #2411

Open
zedtux opened this issue Feb 4, 2021 · 2 comments
Open

ActionCable support? #2411

zedtux opened this issue Feb 4, 2021 · 2 comments

Comments

@zedtux
Copy link

zedtux commented Feb 4, 2021

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

  1. Setup a Rails project with ActionCable (server and client side)
  2. Add a channel streaming for the current_user
  3. NotificationsChannel.broadcast_to(current_user, Notification.last)
@bf4
Copy link
Member

bf4 commented Feb 4, 2021

I've never used action cable. Does it have a renderer?

@zedtux
Copy link
Author

zedtux commented Feb 5, 2021

I will try to figure this out.

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

No branches or pull requests

2 participants