You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setting ArgumentArity on string Option disables Option's default value #1010
This is a design flaw that can possibly be avoided by removing the Option.Argument property so that when you need to customize it, you're not replacing the instance. We would then have something like:
Having the Arity property on the Option class makes more sense to me. It's actually how I assumed it worked before I looked into the docs properly, so I would be all for this change.
Activity
jonsequitur commentedon Aug 6, 2020
This is a design flaw that can possibly be avoided by removing the
Option.Argumentproperty so that when you need to customize it, you're not replacing the instance. We would then have something like:Thoughts?
mahardan-oup commentedon Aug 6, 2020
Having the Arity property on the Option class makes more sense to me. It's actually how I assumed it worked before I looked into the docs properly, so I would be all for this change.
heaths commentedon Mar 28, 2021
Ran into this as well, but as a workaround you can do this: