Skip to content

Support nullable = false for properties #1625

@pbor

Description

@pbor

If an object has a string property, getters always return Option<String>. If the property is always set by construction, it would be great to be able to tell gir that it is not nullable, eg:

    [[object.property]]
    name = "my-prop"
    nullable = false

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