gamerental icon indicating copy to clipboard operation
gamerental copied to clipboard

add jackson-module-parameter-names

Open Sam-Kruglov opened this issue 3 years ago • 5 comments

couldn't watch you add those annotations everywhere :D

Sam-Kruglov avatar Oct 02 '21 18:10 Sam-Kruglov

Haha, thanks, Sam. I did it on purpose to make the intent clearer, but I agree this is cleaner. I think I'll use it for my upcoming live coding session!

No offense btw, but I won't take the PR as is. I want to push the adjustments to the correct branches, correlating to the steps they're in. That will keep the flow of changes identical when someone jumps through them. I'll push the commit messages with creds to your GitHub account, though!

smcvb avatar Oct 04 '21 08:10 smcvb

Sure, don’t bother with credits, I just added a dependency :)

Sam-Kruglov avatar Oct 04 '21 08:10 Sam-Kruglov

Gotcha Sam!

smcvb avatar Oct 04 '21 08:10 smcvb

you could also have a master branch with N commits instead of N branches. That way you can still walk through the steps using git hard reset but you can also see the diff. You can compare branches but that's non-trivial. And it's probably easier to manage. I did it for my presentation https://github.com/Sam-Kruglov/bike-rental-demo/commits/master

Sam-Kruglov avatar Oct 04 '21 12:10 Sam-Kruglov

you could also have a master branch with N commits instead of N branches. That way you can still walk through the steps using git hard reset but you can also see the diff. You can compare branches but that's non-trivial. And it's probably easier to manage. I did it for my presentation https://github.com/Sam-Kruglov/bike-rental-demo/commits/master

Thanks, but I intended it this way.

smcvb avatar Oct 05 '21 07:10 smcvb

I only now notice that this PR is still open... Thanks again for providing it, @Sam-Kruglov, but I will be closing it.

As stated earlier, I wanted to showcase it with annotations on purpose. Not because it is the best solution but to make it overly clear something needs to be done. By repeating the annotation, that something becomes clearer than with a single dependency, in my honest opinion.

The current format of this sample project uses @ConstructorProperties, by the way.

smcvb avatar Jul 17 '23 09:07 smcvb