Skip to content

Conversation

@allan-simon
Copy link
Contributor

before it was only possible to do ARRAY_APPEND(e.myarray, 'a_literal') so it was impossible to have the value coming from php (without resorting to DQL injection)

We now allow also the following syntax ARRAY_APPEND(e.myarray, :foobar)

@allan-simon
Copy link
Contributor Author

compare to the other PR I've added additional test and used ArithmeticPrimary that allow both Literal and input parameters , as well as other methods returning string (which allow chaining calls )

before it was only possible to do `ARRAY_APPEND(e.myarray, 'a_literal')`
so it was impossible to have the value coming from php (without resorting
to DQL injection)

We now allow also the following syntax `ARRAY_APPEND(e.myarray, :foobar)`
@allan-simon allan-simon force-pushed the allow_input_parameters_with_array_functions branch from 80436f4 to 12d7f5c Compare October 17, 2024 08:39
@martin-georgiev
Copy link
Owner

I think only CI failure remains to be addressed. Thank you 😊

@allan-simon
Copy link
Contributor Author

@martin-georgiev it was some coding style issue, should be good now :)

@allan-simon
Copy link
Contributor Author

@martin-georgiev sorry, i was a bit fast in the correction of the coding style, it's ok now, the scrutinizer error is a timeout so i think it's just need a relaunch ?

@martin-georgiev martin-georgiev merged commit 448fd7a into martin-georgiev:main Oct 22, 2024
6 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.

2 participants