Skip to content

More explicit nullable annotations on BatchLoader interfaces #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

bbakerman
Copy link
Member

This adds V extends @Nullable Object on the batch loader interfaces to indicate that the values can be null.

}

private boolean isMappedPublisher() {
return batchLoadFunction instanceof MappedBatchPublisher;
return batchLoadFunction instanceof MappedBatchPublisher || batchLoadFunction instanceof MappedBatchPublisherWithContext;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes needs to be done again with more systemic testing MappedBatchPublisherWithContext and BatchPublisherWithContext dont work right now it seems

@bbakerman bbakerman merged commit 725d59b into master Jul 1, 2025
1 check passed
@bbakerman bbakerman added this to the 5.0.1 milestone Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant