Skip to content

Retry.Multiplier - no way to know if its undefined #48

@globalflea

Description

@globalflea

in the struct Retry.Multiplier which is a floatstr.Float32OrString, there's no way to distinguish this field as not defined. In the spec, this is supposed to be an optional field. The default struct of Float32OrString will be Type Float and the zero value of FloatVal will be a 0.0 - which will be value if the workflow json/yaml left this out.

Unless i take Multiplier of 0 to be "not defined"? in which case, the specs need to be updated to say zero value is not allowed or treated as not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions