stable
Clone or download
Read-only
We prefer to speak about subtasks. => roadmap_tasks/:id/subtasks Rationale: "children" is too linked to the artifact link _is_child. We don't know yet if a subtask will be another thing than an artifact child. For example it might be based on the artifact link is_subtask, or depends_on. By choosing "subtasks" instead of "children" we introduce a specific term that is more generic than the previous one. It will prevent a breaking change in the API if the above asumptions become true. Part of story #20979: Display children in Roadmap Change-Id: Ice6c9a775d707fee3181bc97a000297c278170ac
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/roadmap/include/Roadmap/REST/v1/TaskChildrenRetriever.php | Go to diff View file | ||
M | plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentation.php | +2 | −2 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/TasksResource.php | +14 | −8 | Go to diff View file |
M | plugins/roadmap/tests/rest/v1/RoadmapResourceTest.php | +5 | −0 | Go to diff View file |
R | plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskChildrenRetrieverTest.php | Go to diff View file | ||
M | plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskRepresentationBuilderForTrackerTest.php | +1 | −1 | Go to diff View file |