Skip to content

Support :? shell syntax for variable substitution #4190

@yurishkuro

Description

@yurishkuro

What are you trying to achieve?

Config WG merged a proposal (#3744, #3974, #3948) to support env var expansion syntax with defaults, using the traditional shell syntax VARNAME:-default. But shell syntax also commonly includes VARNAME:?error message syntax for undefined variables which was omitted. This omission is an unexpected behavior to users who are used to shell syntax.

Additional context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationRelated to configuring the SDKsig-issueA specific SIG should look into this before discussing at the specspec:miscellaneousFor issues that don't match any other spec labeltriage:accepted:ready-with-sponsorReady to be implemented and has a specification sponsor assigned

    Type

    No type

    Projects

    Status

    Spec - Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions