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

ref: migrate get feedback flow to TypeScript #735

Merged
merged 7 commits into from
Nov 30, 2020

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Nov 26, 2020

Problem

Same old, same old. This PR migrates the god controller function for getFeedback into the DDD architecture we all know and love.

Solution

Features:

  • add AdminFormCtl#handleGetFormFeedbacks handler fn
  • add FeedbackSvc#getFormFeedbacks fn

Improvements:

  • Remove old Javascript getFeedback controller handler and replace with AdminFormCtl#handleGetFormFeedbacks

Tests

Tests have been written for all new functions.
Note that integration tests are not written yet as the router is not yet migrated.

@karrui karrui requested review from mantariksh and tshuli November 26, 2020 03:24
Base automatically changed from ref/stream-feedback-ts to develop November 26, 2020 11:38
@karrui karrui force-pushed the ref/get-feedback-ts branch from d3dc791 to fe73da9 Compare November 26, 2020 11:39
@liangyuanruo liangyuanruo merged commit 0fb552c into develop Nov 30, 2020
@liangyuanruo liangyuanruo deleted the ref/get-feedback-ts branch November 30, 2020 04:06
@karrui karrui mentioned this pull request Dec 1, 2020
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