Support for adders
instead of setters
for Collections record components
#5
Labels
enhancement
New feature or request
This functionality is about to include "adders" methods (instead of setters) to builders for record components of Collection type. For better usability, it would be necessary to create a new annotation such as
@Builder.Singular(value=optionalSingularName)
to indicate what record components will be singularize and optionally to indicate what singular name to use in case it cannot be deducted from the plural name.For example:
Take as a reference: https://projectlombok.org/features/Builder#Singular
The rules to deriving singular forms from plural words in English are:
The text was updated successfully, but these errors were encountered: