Replies: 1 comment 2 replies
-
But changing this would require us to go through every API supporting some time element and then defining the new signature. And obviously all of this will become a breaking change. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some assertions can either happen "now", or "after a certain time", or "within a certain time".
Here are some examples:
Because this "time" dimension is added directly to each individual assertion, new overloads have to be created for each combination. Looking from the outside, this seems suboptimal to me.
Would it be possible instead to model this time window dimension separately, in a way that can be chained/combined to other calls in a more orthogonal fashion?
So instead of
We'd have:
Thoughts?
This started as a comment on:
Beta Was this translation helpful? Give feedback.
All reactions