-
Notifications
You must be signed in to change notification settings - Fork 365
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Hello. I found an issue while upgrading to springboot 3.5.0.
Springboot 3.5.0 uses graphql-java:24.0 and java-dataloader:5.0.0
With the introduction of jspecify, IDEs started throwing errors that didn't exist before.
In this version, Any?
inheritance for the Value type of DataLoader is no longer available. You must explicitly inherit from Any
.
The current code is no longer suitable.

But, I believe that developers should be able to choose whether the result type of DataLoader is nullable or non-null.
I think graphql-java should be,
// current
@NullMarked
public class DataLoader<K, V>
// I hope
@NullMarked
public class DataLoader<K, @Nullable V>
For now, I am temporarily using @Suppress("UPPER_BOUND_VIOLATED")
to ignore the issue.
marvinelsen
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working