|
|
|
|
|
by 8note
1464 days ago
|
|
Ive used UNSET in enums before, to describe things for a one-big-object state in workflows before the relevant step has been run. I don't think I've used it to describe true or false though. Possibly as a third option, but the names for the options end up well described, not just true and false. Looking back, I'd much prefer to make lots of types, describing the object along the way. In typescript it would be real easy to describe too, just &-ing the steps' results to be main object along the way |
|