From 268fa61fff7ba86213ac56f7aafa54b76ce78de5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 10 Jan 2022 15:39:46 +0000 Subject: [PATCH] api/graph: add missing non-null types Entries of the lists cannot be null. --- api/graph/schema.graphqls | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/graph/schema.graphqls b/api/graph/schema.graphqls index 7a0abdf..6481693 100644 --- a/api/graph/schema.graphqls +++ b/api/graph/schema.graphqls @@ -98,7 +98,7 @@ type Job { status: JobStatus! manifest: String! note: String - tags: [String]! + tags: [String!]! "Name of the build image" image: String! @@ -111,14 +111,14 @@ type Job { owner: Entity! @access(scope: PROFILE, kind: RO) group: JobGroup - tasks: [Task]! - artifacts: [Artifact]! + tasks: [Task!]! + artifacts: [Artifact!]! "The job's top-level log file, not associated with any tasks" log: Log @access(scope: LOGS, kind: RO) "List of secrets available to this job, or null if they were disabled" - secrets: [Secret] @access(scope: SECRETS, kind: RO) + secrets: [Secret!] @access(scope: SECRETS, kind: RO) } type Log { @@ -159,8 +159,8 @@ type JobGroup { created: Time! note: String owner: Entity! @access(scope: PROFILE, kind: RO) - jobs: [Job]! - triggers: [Trigger]! + jobs: [Job!]! + triggers: [Trigger!]! } enum TaskStatus { -- 2.38.5