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
CLI: allow querying multiple fields in the same object #6949
GraphQL supports querying multiple fields from the same object, which is very useful especially for data querying. But the CLI doesn't support this. This drastically limits use cases for dagger call. Basically it makes it impossible to use a Dagger Module as a practical data interface, usable from the CLI.
Querying multiple fields can also be applied for easy parallelism: advanced complex like multi-arch builds, could be made much more approachable. Hard to know for sure, until we allow experimentation.
Solution
Add support for querying multiple fields from the CLI.
I propose using , as a separator (bikeshedding welcome). For example:
I think separating with a comma is ok. It's what we use with lists in the CLI usually. It's techically possible to separate with spaces but that's confusing for humans. Comma makes more sense than something else like : since it more clearly expresses an enumeration of the same kind of thing.
Activity
helderco commentedon Mar 26, 2024
Same as #6515, this requires:
helderco commentedon Mar 26, 2024
I think separating with a comma is ok. It's what we use with lists in the CLI usually. It's techically possible to separate with spaces but that's confusing for humans. Comma makes more sense than something else like
:since it more clearly expresses an enumeration of the same kind of thing.