Skip to content

Add OSArgument.setRequired() method #5469

@shorowit

Description

@shorowit

Enhancement Request

I have a situation where I need to set the required property of an OSArgument after the argument has been created. But the SDK only allows you to set the property when it's instantiated. Can we add a simple setRequired() method?

Currently I have to create a new argument (with the desired required) and copy all the other properties, it's two dozens lines of code that should just be one line.

Context: ResStock

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement RequestTriageIssue needs to be assessed and labeled, further information on reported might be needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions