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

Minor refactoring of search service #6918

Closed
wants to merge 3 commits into from
Closed

Minor refactoring of search service #6918

wants to merge 3 commits into from

Conversation

Uzay-G
Copy link
Member

@Uzay-G Uzay-G commented Dec 5, 2019

Fixes #6882
I have refactored some of the code from the search_service.rb file. These changes are still minor but I'd appreciate feedback or help on how I can refactor other parts of the code. I have tried refactoring the
search_all method using the built-in ruby send function but although the code worked, it wasn't shorter than the existing method.

I really want to improve this pull request because for now the changes are small and I'd really appreciate any guidance or pointers on how I can do this.
Thanks

Fixes #6882
I have refactored some of the code from the search_service.rb file. These changes are still minor but I'd appreciate feedback or help on how I can refactor other parts of the code. I have tried refactoring the
search_all method using the built-in ruby send function but although the code worked, it wasn't shorter than the existing method.

I really want to improve this pull request because for now the changes are small and I'd really appreciate any guidance or pointers on how I can do this.
Thanks
@Uzay-G Uzay-G closed this Dec 5, 2019
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.

Refactor search service code
1 participant