From f2eb4d46bcfa54a74b6bec5bbc5e97570a117f0f Mon Sep 17 00:00:00 2001 From: Priec Date: Thu, 16 Jul 2026 13:25:43 +0200 Subject: [PATCH] get-var is removed completely since its not needed at all --- Cargo.toml | 2 +- client | 2 +- common/proto/table_script.proto | 6 ++---- common/src/proto/descriptor.bin | Bin 96151 -> 96035 bytes common/src/proto/komp_ac.table_script.rs | 6 ++---- server | 2 +- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9d73322..b8e1ae3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "3" [workspace.package] # TODO: idk how to do the name, fix later # name = "komp_ac" -version = "0.8.24" +version = "0.8.25" edition = "2024" license = "GPL-3.0-or-later" authors = ["Filip Priečinský "] diff --git a/client b/client index 9d5d093..0d20818 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit 9d5d09322f64f0115cd442a1b09857116fd33356 +Subproject commit 0d20818048e7919c153827891e5cb5fa663bd103 diff --git a/common/proto/table_script.proto b/common/proto/table_script.proto index 0bf8c3c..2d5a71f 100644 --- a/common/proto/table_script.proto +++ b/common/proto/table_script.proto @@ -67,12 +67,10 @@ message PostTableScriptRequest { // Referencing data: // - Structured table/column access (enforces link constraints): // (steel_get_column "table_name" "column_name") - // • self-references are allowed without links + // • current-table references are read directly from the active row // • other tables require an explicit link from the source table // (table_definition_links) or the request fails // - Raw SQL access is not supported; steel_query_sql is rejected - // - Self variable access in transformed scripts: - // (get-var "column_name") is treated as referencing the current table // // Math operations: // - The script is transformed by steel_decimal; supported math forms include: @@ -82,7 +80,7 @@ message PostTableScriptRequest { // BIGINT, TEXT, BOOLEAN, DATE, TIMESTAMPTZ // // Dependency tracking and cycles: - // - Dependencies are extracted from steel_get_column and get-var and stored + // - Dependencies are extracted from steel_get_column calls and stored // in script_dependencies with context // - Cycles across tables are rejected (self-dependency is allowed) string script = 3; diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 13df14f9106572797f9a4975c74c9291a0cd2e17..359503db3be795504cbde96e78a274dfc547455e 100644 GIT binary patch delta 1243 zcmYL|%}*0i6vgM=c>^=AfI56rkS+L5pMJY4uiS@0bmo4RMiH+h;AyL}&5}9mitAgrIwM}2%2lv0eWmYzm&+oS{ z&W@AIWQ#sw$)gy~axO*6gmMSPni>Nl)qeGDJ(=pZn`lotL%Q9R9iwAnNf2i)Uo|$` z3!SBbRXZ+HaA0J(X1ZPJtjwpWS26emhqNss1&4J1fOt--A2l!d+ljLWo<5QhlOLTc z8ejmtpI%k56N?LC$~K|)AoOeWKMhGJGyetu=0X}S8i-v z+))flg_CC6%C$q0QktYGGUJWzg zQXEjYFA%^Ex|j^>K(8KZvJgClh&C2Q3loe)J2m~Ht$EKfvr6iWr+FWVx& z?xHMT`0^yqMeFDBN0P8gi$d8o4^Cc8&QgP4;<~&W!R5@$kvVB4 z*G|`vo-=z?x+XJHX+Fa#BS|(FTW%hm&UDQg1N<=@2#qB*t7)9&rYzbKFn9z9%ixiM zgVou^-_jr-u|n(B*#Nm;P)8C<nW*#^gO#jA1?vA1cpv z4qwlcvD@;N&^jI{M=0bvW^dpK1xF{H;dcTOq4MFyJejVCBmr4&ld_hw*{w)fOSvx< z)S@Ms8}q|jWRqNDgeTyr$yz)*5g-sus_^zuaj3*#6a(fBT~n$q>+;6N19z5W8?oo1 zJ36gx7@5GGN%sm3#|MF8E2`5_NUW$%L&2_sPRpW#Zf(+m;3x=So9d2Gz&6dkdK3h= zndw&?UWF|xREUDxYIAY|TV~`*fo%2HW7*7cCd-z?T}cdS%v8^sj8MUs-xxAL{y~?lj`7jlnImS)XmVO zPLWxolPVU6XN|@q1+La{JyPIm<8s6lHO6=G86gBN8iPOEB}N({#&ise?Gf6~JF%2d zdLWHRB6p8qEyJjsKQtCIWD(sbbVx-pGASb#GlMkKQ55Jt8IX%5kHvd(K+yis7*mrn sLNPW-3_wMJ9uQ1`KMGjLM$