Before submitting
At the moment if you can log data of record that have PII data you need override toString and implement all method example:
public record UserRequest(String name, String email) {
@Override
public String toString() {
return "UserRequest{" +
"name='" + name + '\'' +
'}';
}
}
Describe the feature
The idea would be to bring @ToString support from classes to records as well.
@ToString(exclude = {"email"})
public record UserRequest(String name, String email) {
}
Describe the target audience
Everyone work in banks or companies that process sensitive data who wants use new features of java like records and continue having the facilities of lombok.
Before submitting At the moment if you can log data of record that have PII data you need override toString and implement all method example:
Describe the feature The idea would be to bring @ToString support from classes to records as well.
Describe the target audience Everyone work in banks or companies that process sensitive data who wants use new features of java like records and continue having the facilities of lombok.