I'm curious if use of encoding.Stringify is actually required.
I was having issues with contract tests failing due to Request/Response not matching. Digging into that issue I found several bugs in Stringify:
- integers quoted in the Response
- nested structs not honoring the
omitempty tag
As a work around I commented out the use of Stringify in cfn.newResponse and everything works- that leads me to wonder why Stringify exists.