The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/feat/gorm-query-safety-ast-check has succeeded.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
cb3a5753c744de9372ab67c8f4ecb960a9b6b3f3 / Walter Duque de Estrada 
<[email protected]>
Detect inline .toString()/cast flattening at the GORM query call site

findUnsafeArgument only classified the query argument when it was a
VariableExpression, a this.field reference, or a concatenation, so
GString flattening applied directly in the argument slot slipped
through undetected:

  Book.executeQuery("from Book where title = ${title}".toString())
  Book.executeQuery((String) "from Book where title = ${title}")
  Book.executeQuery("from Book where title = ${title}" as String)

Bring the call-site check in line with the assignment tracker, which
already recognized these two shapes for String q = g.toString() /
(String) g. Also corrects @since 8.1 to 8.0 in both transform classes
to match the 8.0.x target branch.

Addresses review feedback from #15971.

Report URL: https://github.com/apache/grails-core/actions/runs/30024988783

With regards,
GitHub Actions via GitBox

Reply via email to