Skip to content

[Question] Is encoding.Stringify required? #227

Description

@msummers-nr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions