Verified Commit 6a5eca23 authored by Florian Forster's avatar Florian Forster Committed by GitLab
Browse files

feat(workitems): Add `Children` field to `WorkItem` struct.

Changelog: Improvements
parent 32354dcb
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -51,6 +51,17 @@
                            "namespace": {
                                "fullPath": "gitlab-com/gl-infra/platform/runway/team"
                            }
                        },
                        "hasChildren": true,
                        "children": {
                            "nodes": [
                                {
                                    "iid": "34",
                                    "namespace": {
                                        "fullPath": "gitlab-com/gl-infra/platform/runway"
                                    }
                                }
                            ]
                        }
                    },
                    "iteration": {
+9 −0
Original line number Diff line number Diff line
@@ -57,6 +57,15 @@ mutation CreateWorkItem($input: WorkItemCreateInput!) {
					fullPath
				}
			}
			hasChildren
			children {
				nodes {
					iid
					namespace {
						fullPath
					}
				}
			}
		}
		iteration {
			iteration {
+9 −0
Original line number Diff line number Diff line
@@ -57,6 +57,15 @@ mutation UpdateWorkItem($input: WorkItemUpdateInput!) {
					fullPath
				}
			}
			hasChildren
			children {
				nodes {
					iid
					namespace {
						fullPath
					}
				}
			}
		}
		iteration {
			iteration {
+9 −0
Original line number Diff line number Diff line
@@ -57,6 +57,15 @@ query GetWorkItem($fullPath: ID!, $iid: String!) {
					fullPath
				}
			}
			hasChildren
			children {
				nodes {
					iid
					namespace {
						fullPath
					}
				}
			}
		}
		iteration {
			iteration {
+9 −0
Original line number Diff line number Diff line
@@ -52,6 +52,15 @@
					fullPath
				}
			}
			hasChildren
			children {
				nodes {
					iid
					namespace {
						fullPath
					}
				}
			}
		}
		labels {
			labels {
Loading