Skip to content

feat - manage no empty constructor in records  #9

@mxyns

Description

@mxyns

records don't have an empty constructor (constructor without parameters). this can be worked around by adding an empty constructor in your record and calling this(default parameters) inside of it :

record TestRecord1(long field1) {  
        public TestRecord1() {  
            this(0);  
        }  
    }  

need to add a way to handle this by taking the default record constructor and give it default (dummy) values

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions