Skip to content

Use zero-values rather than pointers #1857

@alexec

Description

@alexec

My generated code contains pointers when it would be preferable to have zero values:

WorkspaceFlavorId *string   `json:"workspaceFlavorId,omitempty"`

vs

WorkspaceFlavorId string   `json:"workspaceFlavorId,omitempty"`

How do I get the latter to work?

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