From 7f785828de4ba00d4102bbf89613f3b482c920e0 Mon Sep 17 00:00:00 2001
From: Stephanie Freitag <stephanie.freitag@holi.team>
Date: Tue, 4 Mar 2025 15:04:46 +0100
Subject: [PATCH] HOLI-9793, HOLI-10970: mark V1 versions of matched topics and
 skills as deprecated

---
 app/server.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/server.ts b/app/server.ts
index e04c6e3..5cceba6 100644
--- a/app/server.ts
+++ b/app/server.ts
@@ -95,7 +95,7 @@ const typeDefs = `
       """
       Contains the slugs of matched topics. The order is defined as follows: 1) topics that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
       """
-      matchedTopics: [String]
+      matchedTopics: [String] @deprecated(reason: "Use matchedTopicsV2 instead. (since v1.51)")
       """
       Contains the V2 slugs of matched topics. The order is defined as follows: 1) topics that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
       """
@@ -104,7 +104,7 @@ const typeDefs = `
       """
       Contains the slugs of matched skills. The order is defined as follows: 1) skills that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
       """
-      matchedSkills: [String]
+      matchedSkills: [String] @deprecated(reason: "Use matchedSkillsV2 instead. (since v1.51)")
       """
       Contains the V2 slugs of matched skills. The order is defined as follows: 1) skills that were part of the query come first (sorted by matching confidence). 2) other topics the engagement matches (sorted by matching confidence)
       """
-- 
GitLab