From 303f50d95f934dfd2f1172e9d89f14cbd27f8d76 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Fri, 4 Jul 2025 19:43:10 +0300 Subject: [PATCH] fix(api-gateway): Update shown: true to public : true in error messages To align with the docs --- rust/cubeorchestrator/src/query_result_transform.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rust/cubeorchestrator/src/query_result_transform.rs b/rust/cubeorchestrator/src/query_result_transform.rs index 8056e1ece4e9a..a29b12ff56562 100644 --- a/rust/cubeorchestrator/src/query_result_transform.rs +++ b/rust/cubeorchestrator/src/query_result_transform.rs @@ -194,8 +194,8 @@ pub fn get_members( if !annotation.contains_key(member_name) { bail!( concat!( - "You requested hidden member: '{}'. Please make it visible using `shown: true`. ", - "Please note primaryKey fields are `shown: false` by default: ", + "You requested hidden member: '{}'. Please make it visible using `public: true`. ", + "Please note primaryKey fields are `public: false` by default: ", "https://cube.dev/docs/schema/reference/joins#setting-a-primary-key." ), column @@ -344,8 +344,8 @@ pub fn get_vanilla_row( None => { bail!( concat!( - "You requested hidden member: '{}'. Please make it visible using `shown: true`. ", - "Please note primaryKey fields are `shown: false` by default: ", + "You requested hidden member: '{}'. Please make it visible using `public: true`. ", + "Please note primaryKey fields are `public: false` by default: ", "https://cube.dev/docs/schema/reference/joins#setting-a-primary-key." ), alias