goinvo/staffplan_redux

Add an ability to accept array of workWeeks to the UpsertAssignment mutation.

Closed this issue · 5 comments

For implementing functionality with fill forward button on UI for filling all presents weeks on the screen for assignment with current value in the input.

goinvo/staffplan-next-app#105

@zhukovdigital @HankC138 I'm thinking that introducing a new mutation, upsertWorkWeeks that takes an array work week data (cweek, year, estimatedHours, actualHours) for an assignmentId would work best here. Let me know if you disagree? I can get this in this week.

@fermion It`s ok for me, lets do it.

@zhukovdigital @HankC138 for the data that's returned, I was going to send back an Array of WorkWeekTypes that were persisted to the database. Does that work? Alternatively I could send back the entire AssignmentType.

@fermion I think will be better send back entire AssignmentType with updated workweeks

Closed with #315