Skip to content

a class contructor might be called only with certain attributes #40

@LGala

Description

@LGala

given a class like

class LongClass(fieldNamingStrategy: FieldNamingStrategy, /*a lot more attributes between*/, excluder: String)

It's too verbose and error-prone to write a class constructor call like

longClass = LongClass(null, null, null, null, null, null, null, null, null, null, "hello")

It's way better to write a class constructor call like

longClass = LongClass(excluder = "hello")

Metadata

Metadata

Assignees

Labels

feat wantedI want this to be added

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions