Closed MikeyManoguerra closed 3 years ago
one potential solution is to add unchangeable slugs to program and service tables
So I actually have no idea what that means! Which is exciting. Maybe we could chat a bit more about that on Slack?
I specifically want to get these out of the component, the program and service ids here:
For a slug based solution:
@MikeyManoguerra So for this particular case (SEP data), are the fields Urgency, Program and Service always going to be set to those particular values? If so, would it make sense to put the constants in the ParticipantStore rather than in the table itself? Also, by table field, do you mean values placed into the /constants index.js file? I would think we could then import those values into the ParticipantStore. Let me know if I'm totally off the mark here.
@JackRyan1989 sorry i missed these questions. by tables and fields i was referring to db models
this one can be iceboxed for now but it should be done before putting in production. any values should rely on requests to back end for data