aws-cloudformation / cloudformation-cli-go-plugin

The CloudFormation Provider Development Toolkit Go Plugin allows you to autogenerate Go code based on an input schema.
52 stars 31 forks source link

[Question] Is encoding.Stringify required? #227

Open msummers-nr opened 10 months ago

msummers-nr commented 10 months ago

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:

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.