From 5b2b33d93016b9a812969c12dd9be9a5cabf0e59 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Wed, 28 Jun 2023 01:26:44 -0600 Subject: [PATCH] Add Lockable fields to thread in gql --- gql_graph.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gql_graph.go b/gql_graph.go index 20f0a4f..65323ca 100644 --- a/gql_graph.go +++ b/gql_graph.go @@ -122,6 +122,18 @@ func GQLInterfaceThread() *graphql.Interface { gql_interface_thread.AddFieldConfig("Parent", &graphql.Field{ Type: GQLInterfaceThread(), }) + + gql_interface_lockable.AddFieldConfig("Requirements", &graphql.Field{ + Type: GQLListLockable(), + }) + + gql_interface_lockable.AddFieldConfig("Dependencies", &graphql.Field{ + Type: GQLListLockable(), + }) + + gql_interface_lockable.AddFieldConfig("Owner", &graphql.Field{ + Type: GQLInterfaceLockable(), + }) } return gql_interface_thread