Add Lockable fields to thread in gql

graph-rework-2
noah metz 2023-06-28 01:26:44 -06:00
parent 3e27d1d6b0
commit 5b2b33d930
1 changed files with 12 additions and 0 deletions

@ -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