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
What are you trying to achieve or the steps to reproduce ?
The .default method already supports providing a function value. I would like to expand the information returned by .describe() when the default is a function instead of a string.
If the above implementation is not acceptable, but the general goal of the request (having access to the default function in the describe), I'm open to suggestions.
One thing I hadn't decided on is this behavior for stringDefault:
What are you trying to achieve or the steps to reproduce ?
The
.default
method already supports providing a function value. I would like to expand the information returned by.describe()
when the default is a function instead of a string.Which result you had ?
Using the above
schema
:What did you expect ?
I would like to add details so that
describe
instead returns:This would allow for this contrived example to work:
(Full disclosure, I would like to allow for dynamic defaults in Felicity, which is built upon
.describe()
)Any feedback on this would be appreciated, and I'm 100% willing to add this support if approved.
The text was updated successfully, but these errors were encountered: