Skip to content

@input trait doesn't automatically imply clientOptional as per documentation #1282

Description

@timocov

Per documentation:

Required members of a structure marked with the @input trait are implicitly considered clientOptional.

But when I run the codegen for a structure that has @input trait and a field with @required trait, generated code doesn't have the code in the builder constructor that sets fields to the tracker as it would if I would mark it with @clientOptional as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions