The GitHub Actions job "Code Analysis" on 
grails-core.git/chore/graphql-root-cleanup has failed.
Run started by GitHub user jdaugherty (triggered by jdaugherty).

Head commit for run:
1c8511987957d7cfda6a4f6ba84aecae5d220daa / James Daugherty <[email protected]>
Call GraphQLMapping.build statically and cover the remaining getMapping branches

The Closure branch of toGraphQLMapping allocated a throwaway
GraphQLMapping only to call the static build(Closure) through it; call
it on the class directly. buildMapping's instanceof check on a variable
already typed as GraphQLMapping reduces to a null check.

Add direct getMapping coverage for the Closure, LazyGraphQLMapping and
prebuilt GraphQLMapping branches, and for verifyMapping's property
check, which had no test anywhere: a mapped property that exists on the
entity is accepted, and one that does not raises IllegalMappingException
naming the property and the entity class.

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

With regards,
GitHub Actions via GitBox

Reply via email to