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