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

Convenience Method to create a synonymmap object #15129

Closed
wants to merge 7 commits into from

Conversation

sarangan12
Copy link
Member

This PR is related to Issue #14664. This PR creates a convenience method that creates a synonymmap object.

A similar method is implemented in Java and could be found here: https://github.com/Azure/azure-sdk-for-java/pull/20984/files

@xirzec Please review and approve

@ramya-rao-a FYI....

@ghost ghost added the Search label May 4, 2021
@azure-pipelines
Copy link

No pipelines are associated with this pull request.

Copy link
Member

@xirzec xirzec left a comment

Choose a reason for hiding this comment

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

Seems like a great helper to add! Just a few bits of feedback before we merge this

sdk/search/search-documents/src/serviceUtils.ts Outdated Show resolved Hide resolved
sdk/search/search-documents/src/serviceUtils.ts Outdated Show resolved Hide resolved
sdk/search/search-documents/src/serviceUtils.ts Outdated Show resolved Hide resolved
sdk/search/search-documents/src/serviceUtils.ts Outdated Show resolved Hide resolved
@xirzec
Copy link
Member

xirzec commented May 4, 2021

Also can we add a test for the new method? Should be able to check in a small test collateral file like we do for core packages

@sarangan12
Copy link
Member Author

@xirzec I have fixed the comments and also added a test case.

Copy link
Member

@xirzec xirzec left a comment

Choose a reason for hiding this comment

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

Thanks for adding the test! Just a couple last pieces of feedback

sdk/search/search-documents/package.json Outdated Show resolved Hide resolved
sdk/search/search-documents/src/synonymMapHelper.ts Outdated Show resolved Hide resolved
@sarangan12
Copy link
Member Author

Also, there is a CI failure. I am still working on that. I will fix it and get back to you.

@Azure Azure deleted a comment from check-enforcer bot Jun 17, 2021
@sarangan12
Copy link
Member Author

/check-enforcer reset

@sarangan12
Copy link
Member Author

Closing this in favor of #16054

@sarangan12 sarangan12 closed this Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants