Jeff Scott Brown

Results 148 comments of Jeff Scott Brown
trafficstars

Does the code at https://github.com/jeffbrown/johan313issue12623/blob/d1797f4cb81184c1a703ce699c52644228de03ae/grails-app/controllers/johan313issue12623/DemoController.groovy#L6 throw a `NoSuchMethodError` in your environment?

I see the `NoSuchMethodError` when responding with a domain instance like you show: respond MyEntity.get(id), formats: ['json'] But I don't understand why you are seeing it with this: respond "value",...

> Seems like I'm supposed to use Micronaut HTTP client I don't think an http client is involved in the problem described in this question. I think the issue is...

What are the desired effects you want to get from using `@SpringBootTest`?.

I tried to reproduce that and cannot. Can you link to sample project which demonstrates the issue? Thank you for your feedback!

It would be helpful to see what is around `[61:27]` in the class that won't compile.

> I guess the problem will be in the change of version of groovy from 2.x to 3.x and in the use of annotations like @CompileStatic @JJAM2014 If you can...

Thank you. That feedback is helpful. I have verified that a newly created 5.1.7 app will fail compilation with the following code... ``` boolean variableBoolean = true def result =...

FYI... I believe this works: ``` boolean variableBoolean = true def result = variableBoolean?([result:variableBoolean] as JSON) :null ```

Does the compilation succeed if you use `@groovy.transform.CompileDynamic` instead of `@GrailsCompileStatic(TypeCheckingMode.SKIP)`?