Join Slack
Powered by
I’m not sure what `masterplanRepository.save()` re...
# getting-started
s
Shawn
12/18/2018, 4:18 PM
I’m not sure what
masterplanRepository.save()
returns (maybe an instance of the saved record), but if it’s just
Unit
, I might suggest writing
.apply(masterplanRepository::save)
instead
t
thanksforallthefish
12/18/2018, 4:19 PM
it is jpa stuff, so yes, it returns the saved record adding id and other auto computed values.
👍 1
2
Views
Open in Slack
Previous
Next