Skip to content

Conversation

Meldiron
Copy link
Contributor

What does this PR do?

Users have a search attribute to support simple and performant search operations. This attribute should include all id, name, email, and phone number.

When we implemented phone numbers, we didn't give this enough attention. We now need to include a phone number with each update, and email is no longer required.

This PR makes sure to keep the proper state of this search attribute on the user each time a user is updated.

Test Plan

No tests were added as it would need interception between AccountAPI and UsersAPI. Let me know if I should add a test anyway.

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

@stnguyen90
Copy link
Contributor

@Meldiron, would it make more sense to implement this as filter rather than in so many different places? 🧐

@stnguyen90 stnguyen90 linked an issue Jul 28, 2022 that may be closed by this pull request
2 tasks
@eldadfux
Copy link
Member

@Meldiron, would it make more sense to implement this as filter rather than in so many different places? 🧐

We should and can do that in a separate PR.

@eldadfux eldadfux merged commit f4bbcc9 into master Aug 11, 2022
@TorstenDittmann TorstenDittmann deleted the fix-phone-search branch September 5, 2022 16:25
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.

🐛 Bug Report: Cannot search user by phone
3 participants