challenge-api
challenge-api copied to clipboard
Add support for isActive on resources
- Update the challenge resource processor to listen for challenge updated and update the resource to set an active flag to the same value as the challenge active status. Basically, if a challenge is active, the resource is active..
- Add to GET /resources the ability to filter by Active (null (no filter - both states), false, true)
- Add to the query on Resources to listChallengesByMember to to filter by Active, (null (no filter - both states), false, true)
- Create a migration in resources to update that resource active flag based on challenge id
cc @rootelement