ConstantParameterDefault being internal #14520
Unanswered
Falco20019
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
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to define a parameter configurable by configuration with a fallback value:
var baseTagParam = builder.AddParameter("base-tag", new ConstantParameterDefault(() => "latest"));But
ConstantParameterDefaultis declared whereasGenerateParameterDefaultispublic.AddParameterFromConfigurationalso doesn't offer a fallback value to be used. Am I missing something simple here?Beta Was this translation helpful? Give feedback.
All reactions