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

Implement searchattribute.MapperProvider #3873

Merged

Conversation

rodrigozhou
Copy link
Contributor

What changed?
Implement searchattribute.MapperProvider and replace passing the searchattribute.Mapper directly to services/objects.

Why?
For advanced visibility with SQL, we need a standard mapper, and it will be provided by the MapperProvider. It will also handle when the user sets their own mapper in the Server options.

How did you test it?
Existing tests.

Potential risks
This PR should be no-op.

Is hotfix candidate?
No.

@rodrigozhou rodrigozhou requested a review from a team as a code owner January 31, 2023 17:54
@rodrigozhou rodrigozhou force-pushed the refactor-search-attribute-mapper branch 2 times, most recently from 015bd09 to 7d14be1 Compare January 31, 2023 18:48
Copy link
Member

@alexshtin alexshtin left a comment

Choose a reason for hiding this comment

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

Thank you for refactoring it this way. I really appreciate it.

@rodrigozhou rodrigozhou force-pushed the refactor-search-attribute-mapper branch from 7d14be1 to d302734 Compare January 31, 2023 22:16
@rodrigozhou rodrigozhou merged commit 750fc54 into temporalio:master Jan 31, 2023
@rodrigozhou rodrigozhou deleted the refactor-search-attribute-mapper branch January 31, 2023 22:53
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