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

task/CE-580: Refactor findOne function #42

Closed
wants to merge 16 commits into from
Closed

Conversation

marqueone-ps
Copy link
Contributor

@marqueone-ps marqueone-ps commented Apr 3, 2024

Description

Refactors to the findOne function to use a single prisma query opposed to several individual queries and raw queries. Includes helper methods for accessing case_file actions as well as adding action_code and action_type_code constants to avoid hard coded values.

Task #CE-580

Type of change

Please delete options that are not relevant.

  • Refactoring

How Has This Been Tested?

Manually tested to verify findOne returns the same object as before refactoring

  • Manually tests
  • Existing tests

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.

4 participants