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

Add naming requirement for outlet controller identifiers to docs #679

Merged
merged 2 commits into from
May 29, 2023

Conversation

dnlgrv
Copy link

@dnlgrv dnlgrv commented Apr 28, 2023

👋

Something we ran into when trying to use outlets was not noticing that the identifier used for the outlet must match the registered controller name exactly. This was also brought up in this issue. The fact that the naming convention for outlets is different to targets is another matter, and one which is being discussed (would be a great improvement).

I realise this seems to be one of many PRs related to improving the outlets documentation, so if it's one too many then feel free to close it, but this one sentence probably would have saved us some time (assuming we read it of course!).

@dhh dhh merged commit f781cd6 into hotwired:main May 29, 2023
AndersGM pushed a commit to AndersGM/stimulus that referenced this pull request Jun 16, 2023
…wired#679)

* Add naming requirement for outlet controller identifiers to docs

* Update outlets.md

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants