Skip to content
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

Simplify API, esp. generic and async types #12

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

pursultani
Copy link

"Java language designers will rue the day they added generics ... when they see our API" 😄

Hossein Pursultani added 3 commits July 14, 2018 20:07
Including the following:

  - Reduced or simplified generics
  - Add enterypoint for API
  - Reduced or simplified async types
  - Renamed interfaces
  - Unified generic names
@pursultani
Copy link
Author

WIP

At the moment SPI build fails. I haven't refactored/re-implemented corresponding SPI interfaces.

Hossein Pursultani added 3 commits July 27, 2018 16:42
The old implementation of Lifecycle and Context classes are removed.
They must be adapted later to the new changes in the API.

Also, a workaround is added to run factory initialization at runtime.

Includes minor changes to the API.
* @param input
* @return
*/
Hit<M> test(I input);
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to select().


}

interface Hit<M> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to Selection

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.

2 participants