Skip to content

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