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
When my function receives a container as argument, I can't set a default value for it. The way the CLI accepts a string value for container arguments, and interprets it as a remote Container.from() pipeline, could be used in the same way here. But it's not.
Activity
Transmitt0r commentedon Sep 18, 2024
Same for
Directoryin 0.13.0 Go SDKmarcosnils commentedon Sep 18, 2024
You can do this with directories by following using another
defaultPathargument documented here: https://docs.dagger.io/manuals/developer/functions/#directories-and-filestiborvass commentedon Sep 18, 2024
👋 I can tackle this one.
Transmitt0r commentedon Sep 18, 2024
Thanks for the link, was confused by https://docs.dagger.io/manuals/developer/entrypoint-function#default-values-for-complex-types
shykes commentedon Dec 6, 2024
@tiborvass do you still want to do this one? No problem if not, I'll just unassign and queue it up
jasonmccallister commentedon Mar 28, 2025
Would be nice to also set a default value for a
*dagger.Service🙏jedevc commentedon Aug 21, 2025
x-linking #10770, which should be the way to unify all of this.