Skip to content

Replace payload.Encode with sadefs.MustEncodeValue#10432

Open
rodrigozhou wants to merge 1 commit into
mainfrom
rodrigozhou/refactor-ss-encode
Open

Replace payload.Encode with sadefs.MustEncodeValue#10432
rodrigozhou wants to merge 1 commit into
mainfrom
rodrigozhou/refactor-ss-encode

Conversation

@rodrigozhou
Copy link
Copy Markdown
Contributor

What changed?

Replace payload.Encode with sadefs.MustEncodeValue for encoding predefined search attributes used internally.

Why?

sadefs.MustEncodeValue adds metadata type to the payload.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

Copy link
Copy Markdown
Member

@yycptt yycptt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any assertion that new chasm/workflow custom search attributes payload will always have metadata included?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants