The GitHub Actions job "Code Style" on 
grails-core.git/refactor/graphql-testing-util has failed.
Run started by GitHub user jdaugherty (triggered by jdaugherty).

Head commit for run:
eb36646bc6d0941a5efd08ab482a1abf5dac8613 / Walter Duque de Estrada 
<[email protected]>
Honor an explicitly set mergedField in MockDataFetchingEnvironment

getMergedField() always rebuilt a MergedField from `fields`, ignoring
the settable `mergedField` property entirely - it was never read
anywhere. Fall back to building from fields only when mergedField
isn't set, so test authors can stub a MergedField directly (e.g. one
with a custom name/alias that the fields-list constructor path can't
express) instead of only being able to set it indirectly via fields.

Added MockDataFetchingEnvironmentSpec, the first dedicated spec for
this public testing utility, covering both the fields-derived default
and the explicit-mergedField override.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to