Skip to content

gen: Avoid pointer to slices for nullable unions. #461

@0xjac

Description

@0xjac

Related to #371 and #372, when generating a struct with a field of type ["null", "array<string>"] it would be great if there was an option to have the resulting go type be []string instead of *[]string since Go slices can be nil directly.

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