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

Allow variables within strings in BooleanParser #590

Open
simonschaufi opened this issue May 7, 2022 · 0 comments
Open

Allow variables within strings in BooleanParser #590

simonschaufi opened this issue May 7, 2022 · 0 comments

Comments

@simonschaufi
Copy link
Contributor

The following test case currently is not possible as the boolean parser either accepts strings OR variables but not both.

['\'{foo}\' == \'{bar}\'', true, ['foo' => 'a', 'bar' => 'a']],

I would expect this to be true. A workaround is to assign the string to a variable before with the f:variable-ViewHelper and then use the new created variable for comparison.

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

1 participant