to the controller method and tested it out. Everything worked as expected.
p
puneetbehl
05/30/2024, 6:20 PM
Grails 6.2 updates to Apache Groovy 3.0.21 where I think Groovy is becoming more stricter and there might be some issues with generics or type casting. So, either option is to explicitly do the type casting or remove
CompileStatic
.
👍 1
puneetbehl
05/30/2024, 6:22 PM
Additionally, I'd recommend reporting an issue with Groovy which will be fixed in next patch version.