Skip to content

Failed to check @BatchMapping nullness #1334

@iyanging

Description

@iyanging

The current implementation of checkDataFetcherNullness() only validates nullability for method return types, which fails to properly handle @BatchMapping methods that return Map<Parent, Field> (no other annotations).

As a workaround, I currently need to annotate @BatchMapping return types with @Nullable (e.g., @Nullable Map<Parent, Field>) to suppress these false positives.

Is there any plan to reduce these false positive warnings?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions