Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[14:55:06 CDT(-0500)] <pspaude1> its not that bad just a bit of language verbosity mixed with pattern boiler plate. Just what everyone wants to do on a sunny afternoon.

[15:07:14 CDT(-0500)] <dmccallum54> what really kills me is that it's super dangerous boilerplate code

[15:07:50 CDT(-0500)] <dmccallum54> cuz heaven help you if a client out there forgets to include a field in their JSON request payload. Oops! value deleted!

[15:08:44 CDT(-0500)] <dmccallum54> so it's a huge amount of work for very little payoff in the end in terms of being able to reason meaningfully about what the caller actually intended to do

[15:09:17 CDT(-0500)] <dmccallum54> not to mention shitloads of transaction thrash

[15:09:28 CDT(-0500)] <dmccallum54> b/c the deserializing side of things occurs outside the service layer proper