Skip to content

[Question] Is encoding.Stringify required? #227

@msummers-nr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions