Skip to content

Kotlin boolean with 'is' prefix -> field name is wrong #1050

Open
@klaus7

Description

@klaus7

If you declare a boolean property with an 'is' prefix like:

    var isPrimaryUser: Boolean? = false

... this is generated:

  primaryUser: boolean | null

Which is not correct and won't work, because the objects from the backend are serialized in an object like

{ 
  isPrimaryUser: false 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions