Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow any value in the OnUpsertSearchAttribute mock #841

Merged
merged 2 commits into from
Jul 1, 2022

Conversation

cretz
Copy link
Member

@cretz cretz commented Jun 28, 2022

What was changed

Changed param from map[string]interface{} to interface{} on OnUpsertSearchAttributeto supportmock.Anything` or other mock matchers.

Why?

Current version only supports matching a specific map.

Checklist

  1. Closes OnUpsertSearchAttributes changes / additions #810

@cretz cretz enabled auto-merge (squash) July 1, 2022 12:28
@cretz cretz disabled auto-merge July 1, 2022 12:28
@cretz cretz merged commit 2f76f4d into temporalio:master Jul 1, 2022
@cretz cretz deleted the mock-search-attrs branch July 1, 2022 12:29
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.

OnUpsertSearchAttributes changes / additions
2 participants