From 5b169cc2a3b1761b9b475db61ebcb64ee4dab87f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 13 Jul 2017 16:22:43 +0100 Subject: [PATCH] feat(cp-gql-schema): instead of parent, allow service childs --- packages/cp-gql-schema/schema.gql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cp-gql-schema/schema.gql b/packages/cp-gql-schema/schema.gql index 2effa162..6d380c99 100644 --- a/packages/cp-gql-schema/schema.gql +++ b/packages/cp-gql-schema/schema.gql @@ -113,12 +113,12 @@ type ServiceConfig { # immutable type Service { id: ID! # unique id for db row - hash: String! # unique id for version of service + hash: String # unique id for version of service name: String! # human readable name slug: String! instances(name: String, machineId: ID, status: InstanceStatus): [Instance]! connections: [String] # list of serviceIds - parent: ID # parent service id + branches: [Service] config: ServiceConfig status: ServiceStatus }