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

Enforce local keys being literals #78

Merged
merged 3 commits into from
Jan 16, 2021
Merged

Conversation

jhawthorn
Copy link
Member

Previously we were enforcing that the template name of render calls was a static literal, but we weren't enforcing that locals was the same way.

This is necessary for actionview_precompiler to detect render calls and is a good practice anyways.

I believe it was just an oversight that this wasn't done previously.

@jhawthorn jhawthorn marked this pull request as ready for review January 15, 2021 20:45
@jhawthorn jhawthorn merged commit 7a5b7cc into master Jan 16, 2021
@jhawthorn jhawthorn deleted the render_local_literal_keys branch January 16, 2021 01:23
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

Successfully merging this pull request may close these issues.

None yet

1 participant