Parameters with multiple types #654
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
It'd be helpful if the infra spec section on algorithm parameters mentioned how to have a parameter have two types (for instance, a type or failure, or a type and string). It seems like this is somewhat common
What solutions exist today?
It's possible to pass in two optional parameters and have the caller only set one of them, although it's less immediately clear that the two are mutually exclusive.
How would you solve it?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: