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

backend: add term and section for submitting and editing review #82

Merged
merged 21 commits into from
Jun 30, 2024

Conversation

chinathaip
Copy link
Contributor

@chinathaip chinathaip commented Jun 27, 2024

  • add term + section on review table, use only if ENABLE_TERM_SECTION_VALIDATION env is set to true
  • generate raw DDL for seeding sandbox database in integration tests
  • properly apply database migration

@chinathaip chinathaip force-pushed the khing/add-term-sec branch from f538ef2 to 38ff4b7 Compare June 30, 2024 13:27
@chinathaip chinathaip marked this pull request as ready for review June 30, 2024 13:37
@chinathaip chinathaip requested review from a team and removed request for a team June 30, 2024 13:37
Comment on lines 129 to 135
if err := isTermValid(review); err != nil {
return nil, err
}

if err := isSectionValid(review); err != nil {
return nil, err
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Where is the GetBoolEnv and feature flag for this XD

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OH SHOOT GOOD CATCH

@NayHtetKyaw
Copy link
Contributor

so we are specifying term and section now

@chinathaip
Copy link
Contributor Author

so we are specifying term and section now

yeah, I think it should allow the university to use this information for improving the course experience. Also, got a green light from the acting president himself to add this XD

@chinathaip chinathaip merged commit 7d7ae49 into main Jun 30, 2024
1 check passed
@chinathaip chinathaip deleted the khing/add-term-sec branch June 30, 2024 15:48
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.

3 participants