bee icon indicating copy to clipboard operation
bee copied to clipboard

Reconsider `build`/`finish` for Builders with conditions

Open grtlr opened this issue 4 years ago • 0 comments

Some of our current builders don't enforce the conditions of the underlying type at compile-time but rather check for it during construction at runtime.

An example of this is AliasOutputBuilder. One way to mitigate this is to add the two UnlockConditions as parameters to finish.

Maybe we can do this as part of #1024.

grtlr avatar Feb 03 '22 10:02 grtlr