这是indexloc提供的服务,不要输入任何密码
Skip to content

[FEATURE] ToString's onlyExplicitlyIncluded configurable from lombok.config #2849

@mickroll

Description

@mickroll

As there is the @ToString(onlyExplicitlyIncluded = true/false) option already, it would make sense to have the ability of setting it once across the project at the lombok.config, eg. via lombok.toString.onlyExplicitlyIncluded = true/false

Justification:

  • Improved signal-to-noise ratio
  • Better readability (arguably)
  • Helps keeping project convention consistent
  • would work similar to and alongside with lombok.toString.doNotUseGetters, lombok.toString.includeFieldNames and lombok.toString.callSuper

BTW. Thanks for adding this option. It really helps preventing data leakage into log files 👍

Metadata

Metadata

Assignees

Labels

acceptedThe issue/enhancement is valid, sensible, and explained in sufficient detailcriticalenhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions