Skip to content

Added a loadImpl function to allow delegate overriding better - #240

Merged
dondonz merged 5 commits into
masterfrom
fixed-delegate-load-handling
Oct 29, 2025
Merged

Added a loadImpl function to allow delegate overriding better#240
dondonz merged 5 commits into
masterfrom
fixed-delegate-load-handling

Conversation

@bbakerman

Copy link
Copy Markdown
Member

Allows delegates to have side effects in their load and loadMany methods more easily without having to copy code

}


private CompletableFuture<V> loadImpl(@NonNull K key, @Nullable Object keyContext) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should that be protected?

@andimarek andimarek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The one method maybe protected, but otherwise 👍

…-handling

# Conflicts:
#	src/main/java/org/dataloader/DataLoader.java
@bbakerman bbakerman added this to the 6.0.0 milestone Oct 26, 2025
…-handling

# Conflicts:
#	src/main/java/org/dataloader/DataLoader.java
@dondonz
dondonz merged commit 9812f98 into master Oct 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants