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

Remove channels from default app/ structure #52344

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

dhh
Copy link
Member

@dhh dhh commented Jul 16, 2024

Now that Hotwire is the default, the majority of apps won't need custom channels. And those that do can get the files back via the generator.

Now that Hotwire is the default, the majority of apps won't need custom
channels. And those that do can get the files back via the generator.
@dhh
Copy link
Member Author

dhh commented Jul 16, 2024

Unrelated test failures.

@dhh dhh merged commit 3ce3a4e into main Jul 16, 2024
4 of 5 checks passed
@dhh dhh deleted the remove-channels-from-default-app-structure branch July 16, 2024 14:55
Schwad pushed a commit to Shopify/rails that referenced this pull request Jul 18, 2024
* Remove channels from default app/ structure

Now that Hotwire is the default, the majority of apps won't need custom
channels. And those that do can get the files back via the generator.

* Remove trailing space

* Remove additional needless elements

* No longer to be generated

* No longer generated
hachi8833 added a commit to hachi8833/rails that referenced this pull request Aug 1, 2024
DanielaVelasquez pushed a commit to DanielaVelasquez/rails that referenced this pull request Oct 3, 2024
* Remove channels from default app/ structure

Now that Hotwire is the default, the majority of apps won't need custom
channels. And those that do can get the files back via the generator.

* Remove trailing space

* Remove additional needless elements

* No longer to be generated

* No longer generated
DanielaVelasquez pushed a commit to DanielaVelasquez/rails that referenced this pull request Oct 3, 2024
@palkan
Copy link
Contributor

palkan commented Oct 18, 2024

(Missed this one..)

What about authenticating connections? ApplicationCable::Connection is used to authorize WebSocket access for all connections, Hotwire or not. Without it, anyone would be able to establish a connection and waste the server resources, i.e., perform a resource exhaustion attack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants