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

Create Mutations to Set Resident or Staff to Inactive #98

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

ammiellewb
Copy link
Contributor

@ammiellewb ammiellewb commented Jul 18, 2024

Notion ticket link

Create Mutations to Set Resident or Staff to Inactive

Implementation description

  • Code to set a resident/staff to inactive in the backend updating interfaces, functions in implementations, and resolvers

Steps to test

  1. Create residents and staff in Postman
  2. Use setResidentInactive and setStaffInactive
  3. If userId is a resident/staff, it should set isActive to false. Otherwise, error will be returned.
  4. Get all residents and staff to make sure it's updated

What should reviewers focus on?

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

@ammiellewb ammiellewb changed the title create mutations to set residents or staff to inactive Create Mutations to Set Resident or Staff to Inactive Jul 18, 2024
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