Skip to content

StringValue used instead of String type #114

Closed
@dhawal55

Description

@dhawal55

One big issue migration to this SDK from other community SDKs is that most of the string types are represented as string pointers. This make porting existing code difficult. Also, simple initialization become cumbersome:

i := Instance { InstanceId: "i-123456" }
become
id:= "i-123456"
i:= Instance { InstanceId: &id }

Now, if you have to do this for 10 more properties, it starts to get annoying. You can use a function, but its its not as clean as just passing string literal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-reviewThis issue or pull request needs review from a core team member.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions