The GitHub Actions job "CI" on grails-core.git/deps/micronaut-5.0.0 has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
c54d35e9d33e86d6fa2671ce67bd01dabf78ecc7 / James Fredley 
<[email protected]>
test(graphql): use Spring RestClient JSON converters in GraphQLSpec

Replace the hand-rolled JSON handling in the GraphQLSpec test trait
(converters.clear() plus StringHttpMessageConverter and JsonOutput/JsonSlurper)
with Spring RestClient's built-in message converters: Map request bodies are
serialized and responses deserialized by the RestClient Jackson converter, and
toEntity(Map) returns the parsed body.

RestClient only registers a JSON converter when a JSON library is on the
classpath. The grails-test-examples-graphql apps render JSON through JSON views
and do not otherwise pull in Jackson, so declare
tools.jackson.core:jackson-databind on their integration-test runtime classpath.

Also fix the GET helper, which targeted the application root instead of the
/graphql endpoint and expanded the GraphQL query braces as URI template
placeholders; values are now bound as URI variables. Add mock-HTTP-server
(Ersatz) coverage for the trait and correct the testing/JSON-serialization note
in the reference guide.

Assisted-by: claude-code:claude-opus-4-8

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

With regards,
GitHub Actions via GitBox

Reply via email to