-
Notifications
You must be signed in to change notification settings - Fork 173
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
Feat whitelist enums #700
Feat whitelist enums #700
Conversation
Co-authored-by: Eldad A. Fux <[email protected]>
Co-authored-by: Bishwajeet Parhi <[email protected]>
This reverts commit 7557829.
This reverts commit ea06f37.
Co-authored-by: Damodar Lohani <[email protected]>
protected function toUpperSnakeCase($str): string | ||
{ | ||
return \strtoupper($this->toSnakeCase($str)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need this? Can we just not chain the twig filters directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could chain them but I think it makes the templates/code easier to read if we just use one well-named filter
# Conflicts: # templates/node/lib/client.js.twig # tests/DotNet31Test.php # tests/Go112Test.php # tests/Go118Test.php # tests/languages/ruby/tests.rb # tests/resources/spec.json
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)