borinquenkid opened a new pull request, #16202:
URL: https://github.com/apache/grails-core/pull/16202

   ## Summary
   Stacked on #16201. Fixes a series of IntelliJ-flagged issues in 
`org.grails.gorm.graphql.entity.*`:
   - `EntityFetchOptions.java`: added first direct unit coverage, parameterized 
raw `Association`/`ToOne`/`Selection` usages, and restored a null-safe 
`getMergedField()` guard that had been accidentally dropped mid-refactor 
(covered by `ClosureDataFetcher.buildFetchOptions` tests).
   - `PersistentGraphQLProperty`: consolidated two multi-branch reassignment 
patterns (`order` resolution, `getGraphQLType`'s entity/embedded resolution) 
into single-assignment forms.
   - `CustomArgument`/`Arguable`/`ComplexTyped`: replaced deprecated 
`GraphQLArgument`/`GraphQLInputObjectField#defaultValue` calls with the 
non-deprecated `defaultValueProgrammatic`, guarded against nulls to avoid 
breaking schema validation.
   - `GraphQLMapping.methodMissing`: removed the `@CompileDynamic` escape hatch 
while preserving the exact `(String, Object)` signature Groovy's 
`methodMissing` protocol requires.
   - `CustomOperation`/`Schema`: migrated 
`GraphQLFieldDefinition.Builder#dataFetcher` (deprecated) to registration via 
`GraphQLCodeRegistry.Builder`.
   
   ## Test plan
   - [x] `./gradlew :grails-data-graphql-core:test :grails-data-graphql:test 
:grails-data-graphql-core:codeStyle :grails-data-graphql:codeStyle` passes
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to