Closed this-is-spear closed 1 month ago
The user doesn't understand why the field needs to be injected with the Long type.
Long
sut.giveMeBuilder<DurationValue>() .set(DurationValue::duration, Long.MAX_VALUE) .sample()
For ease of use, Duration needs to be modified to allow you to inject Duration values.
sut.giveMeBuilder<DurationValue>() .set(DurationValue::duration, Duration.INFINITE) .sample()
Yes
@this-is-spear Sounds great. Could you make a PR for it?
Okay, good!
Describe the feature you request
The user doesn't understand why the field needs to be injected with the
Long
type.Suggest A Solution
For ease of use, Duration needs to be modified to allow you to inject Duration values.
If the feature request is approved, would you be willing to submit a PR?
Yes