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

Feat whitelist enums #700

Merged
merged 108 commits into from
Nov 7, 2023
Merged

Feat whitelist enums #700

merged 108 commits into from
Nov 7, 2023

Conversation

abnegate
Copy link
Contributor

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.)

2002Bishwajeet and others added 30 commits June 19, 2023 17:54
Co-authored-by: Eldad A. Fux <[email protected]>
Co-authored-by: Bishwajeet Parhi <[email protected]>
This reverts commit 7557829.
Comment on lines +109 to +111
protected function toUpperSnakeCase($str): string
{
return \strtoupper($this->toSnakeCase($str));
Copy link
Member

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

Copy link
Contributor Author

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

@abnegate abnegate changed the base branch from 1.4.x to 1.5.x November 7, 2023 02:53
# 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
@abnegate abnegate merged commit d2ff5eb into 1.5.x Nov 7, 2023
36 checks passed
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.

5 participants