Skip to content

Conversation

bbakerman
Copy link
Member

This is stage 1 of the up coming 2.1 release.

@bbakerman bbakerman requested review from kaqqao and andimarek August 19, 2018 02:43
@SuppressWarnings("unused")
default CompletionStage<List<V>> load(List<K> keys, Object context) {
return load(keys);
}
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Left in for API compat reasons. Ideally I would have just 1 method but it doesnt seem enough value to break people

@bbakerman bbakerman mentioned this pull request Aug 19, 2018
@SuppressWarnings("unused")
default CompletionStage<List<V>> load(List<K> keys, Object context) {
return load(keys);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

One thought I had was that we deprecated the old method and remove it later in a 3.0 but it seemed like too big leap (deprecate+remove later versus just have them implement 2 methods if they want context) for low value.

What are other peoples thoughts on this? @andimarek ? @kaqqao ?

@bbakerman bbakerman closed this Aug 27, 2018
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