Skip to content

Cannot erase AWS Lex SessionAttributes #218

Closed
@artempanko

Description

@artempanko

For erasing aws lex sessionAttributes I need to pass empty map according to aws lex docs (https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html)
But LexResponse uses json tag with omitempty option and aws lex won't clear sessionAttributes.
Code example: https://play.golang.org/p/Qpca-uHwGQL
I'm proposing to remove omitempty option in LexResponse struct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions