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

Fix #124 - handle incoming JSON that is not stringified (cfn test doe… #131

Closed stilvoid closed 4 years ago

stilvoid commented 4 years ago

…s not stringify JSON before passing to the handler

Issue #, if available: #124

Description of changes: Update the encoding package to deal with incoming JSON that is not stringified. cfn test does not currently stringify the incoming JSON and so does not match the behaviour of the service.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.