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

Detecting new rails helpers (or changes to existing ones) #191

Open
joeldrapper opened this issue Apr 2, 2024 · 2 comments
Open

Detecting new rails helpers (or changes to existing ones) #191

joeldrapper opened this issue Apr 2, 2024 · 2 comments

Comments

@joeldrapper
Copy link
Collaborator

It would be great to find a way to detect new rails helpers as they are added (or changes to existing ones). Does anyone have any thoughts on how we could do this?

cc @BarnabeD

@joeldrapper
Copy link
Collaborator Author

One thought I had was to have a test that runs against rails/main and has a list of view_context methods we’ve looked at, but flags methods that don’t appear in that list. Perhaps it could store the parameters too so we're alerted if those change. 🤔

@BarnabeD
Copy link
Contributor

BarnabeD commented Apr 2, 2024

I don't know if this is possible, or even if it's a good idea, but I was thinking about it and it seems to me that rails helpers are tested. Maybe we could use the rails tests on their helpers and run them on the phlex helpers?

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