Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

builder for NeedleRule #2

Open
jangalinski opened this issue Jun 24, 2013 · 2 comments
Open

builder for NeedleRule #2

jangalinski opened this issue Jun 24, 2013 · 2 comments

Comments

@jangalinski
Copy link
Member

fluent builder exists only for NeedleTestRule, not NeedleRule.

@zambrovski
Copy link
Member

What is the builder for? There is almost no parameterization of the NeedleRule, so is it worth to work with Fluent API?

@jangalinski
Copy link
Member Author

  1. synchronicity ... we have 2 rules to support and both should allow the same instantiation methods
  2. "no parameterization" is not quite true ... we allow a wild combination of InjectionProviders and InjectionProviderInstancesSuppliers for rule set up. And fluent API/builder is the best way to configure this in a "one-line" rule instantiation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants