Should I use optional()
with default()
?
#3864
Unanswered
samuliasmala
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I specify a default value using
default()
, is it unnecessary or even incorrect also specifyoptional()
? And a related question: if I putoptional()
after thedefault()
why I'm not getting the default value (please see the example below)?Beta Was this translation helpful? Give feedback.
All reactions