From 5a94721c931212ab2ee9b2a098e9c40591bfb6c4 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Fri, 10 Mar 2023 15:58:58 -0700 Subject: [PATCH] Comments locatorJSON out of mapping to test if the field can be removed --- .../register_url_service_saved_object_type.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts index 929928eda3f9a..6f9c5dd85598f 100644 --- a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts +++ b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts @@ -37,6 +37,7 @@ export const registerUrlServiceSavedObjectType = ( }, }, mappings: { + dynamic: false, properties: { slug: { type: 'text', @@ -68,10 +69,10 @@ export const registerUrlServiceSavedObjectType = ( }, }, // Information needed to load and execute a locator. - locatorJSON: { - type: 'text', - index: false, - }, + // locatorJSON: { + // type: 'text', + // index: false, + // }, }, }, migrations: () => {