You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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(Stringname, Stringemail) {
@OverridepublicStringtoString() {
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(Stringname, Stringemail) {
}
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.
The text was updated successfully, but these errors were encountered:
Claudio-code
changed the title
[FEATURE]
[FEATURE] Add support for records in @ToString
Jul 5, 2023
Claudio-code
changed the title
[FEATURE] Add support for records in @ToString
[FEATURE] Add support for records in @ToString or add new annotation to exclude params to not show in toString method
Jul 14, 2023
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.
The text was updated successfully, but these errors were encountered: