CodeForPhilly / CodeForPhilly/benefit-decision-toolkit

`updateCustomBenefit` does not update BenefitDetail on related Screener

Open
#253 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
15
Forks
5
Avg merge
1d 2h
Merged PRs (30d)
23

Description

## Bug
- Currently, updates to Custom Benefit fields such as `name` or `description` via `updateCustomBenefit(...)` do not also change the same fields on the corresponding `BenefitDetail`.

## Notes
- The purpose of having BenefitDetails on the Screener model is to allow us to get the name/descriptions of Custom Benefits related to a Screener quickly without having to individually query for each one. This allows the List page for Custom Benefits in a Screener to load more quickly than it otherwise would.
- It may be worth examining if there is a feature or strategy we can leverage to maintain this speed without having two sources of truth for fields like Custom Benefit name/description that need to be kept in-sync.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.