The GitHub Actions job "CI" on grails-core.git/refactor/graphql-fetcher has 
succeeded.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
2865d10ea1bc42ba721fb6e72c378d4a008cc0d7 / Walter Duque de Estrada 
<[email protected]>
Document why DefaultGormDataFetcher.associations stays an unbounded wildcard

IntelliJ flags Map<String, Association<?>> with "Type parameter '?' is
not in its bound; should extend Property" since Association<T extends
Property>. Writing the bound out explicitly
(Association<? extends Property>) looks like the obvious fix, but
Groovy's static type checker - unlike javac - treats the bounded and
unbounded wildcard forms as distinct types, so
initializeEntity()'s `this.associations = this.entityFetchOptions.associations`
(which returns Map<String, Association<?>>) fails to compile against
it. Keep the unbounded form and record why, the same treatment given
to EntityFetchOptions' raw List<Selection> earlier in this cleanup.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to