MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/eplsgy/records_come_to_java/ff2oshi/?context=3
r/java • u/daviddel • Jan 16 '20
93 comments sorted by
View all comments
2
Will it be fluent? Something like:
var user = new User().id(1L).lastName("Doe").firstName("John");
1 u/randgalt Jan 20 '20 FYI - I wrote a library that adds a fluent builder/copy companion to Records: https://github.com/Randgalt/record-builder
1
FYI - I wrote a library that adds a fluent builder/copy companion to Records: https://github.com/Randgalt/record-builder
2
u/jvjupiter Jan 17 '20 edited Jan 17 '20
Will it be fluent? Something like:
var user = new User().id(1L).lastName("Doe").firstName("John");