johan313
johan313
This is still an issue in Release v7.0.3. Please add a fix.
Seems like I'm supposed to use Micronaut HTTP client https://docs.grails.org/latest/guide/REST.html#callingRestServices nowdays. However, the documentation seem to be out-of-date = non compiling and the Micronaut Client returns the Publisher interface which...
Yes, the problem is incompatible libraries, but I assumed the cause was that I was not supposed to use grails-datastore-rest-client anymore.
> Does the code at https://github.com/jeffbrown/johan313issue12623/blob/d1797f4cb81184c1a703ce699c52644228de03ae/grails-app/controllers/johan313issue12623/DemoController.groovy#L6 throw a `NoSuchMethodError` in your environment? You still need me to check this? I can do it on Monday if so.
> I would expect a different problem with that. Yes, I get a different exception with that, I get `Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'value' with class 'java.lang.String' to...
This is still an issue in grailsVersion=5.0.0.M1
Still failing in 5.0.0-RC3. Did not try the mentioned workaround since H2 db can export the schema easily.
@donalmcnamee Didn't want to waste time on an outdated plugin so I removed grails-datastore-rest-client. Switched to Spring REST client for complex cases and the standard java.net.http package for simple, chose...