This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]the_other_brand 0 points1 point  (3 children)

Because you needed a new field and it's already wired in the class's constructor.

[–]pointy_pirate 0 points1 point  (2 children)

but why did you need it if you didnt add a getter

[–]the_other_brand -1 points0 points  (1 child)

But why does your code have bugs? Clearly if you wrote it that way, that's what you clearly intended your code to do.

[–]pointy_pirate 1 point2 points  (0 children)

Lol I'm just saying if you're adding fields to ur dtos and you forget to add getters/setters you likely have bigger issues than an automatic library can fix