-
Notifications
You must be signed in to change notification settings - Fork 66
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
BE | Ask Va Api: retrieve inquiries endpoint #16338
Conversation
- Removed unused `rescue` block from `ApplicationController` - Aligned `get_replies_mock_data.json` with `CRM API` conventions - Resolved failing tests in `Optionset`'s `retriever_spec.rb` and `serializer_spec.rb`
- Improved `Correspondences::Entity` functionality - Updated logic in `Correspondences::Retriever` - Revised serialization in `Correspondences::Serializer`
- Unified retrieval process using `BaseRetriever` in `Inquiries::Retriever` - Refactored `Inquiries::Retriever` for clarity and adherence to conventions - Resolved controller issues arising from changes in `Inquiries::Retriever`
e1afda5
to
08ef714
Compare
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Leaving comments in slack since they're not showstoppers for me.
Summary
Enhancements and Refactoring
This pull request introduces several enhancements and refactoring across different modules of the application:
Streamlined ApplicationController and Associated Specs:
rescue
block from theApplicationController
.get_replies_mock_data.json
file withCRM API
conventions.Optionset
module'sretriever_spec.rb
andserializer_spec.rb
.Enhanced Correspondences Module:
Correspondences::Entity
class.Correspondences::Retriever
class.Correspondences::Serializer
class.Enhanced Inquiries::Retriever and InquiriesController:
BaseRetriever
in theInquiries::Retriever
.Inquiries::Retriever
class for clarity and adherence to conventions.Inquiries::Retriever
.These changes aim to streamline code, improve functionality, and resolve failing tests, contributing to overall code quality and maintainability.
Related issue(s)
Testing done
Acceptance criteria
Requested Feedback
(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?