generalization on the way, needs fixes
This commit is contained in:
@@ -6,8 +6,7 @@ use crate::steel::validation::script::validate_script;
|
||||
use serde_json::Value;
|
||||
|
||||
// Add these imports for the execution module and ScriptOperation
|
||||
use crate::steel::handlers::execution;
|
||||
use crate::steel::handlers::ScriptOperation;
|
||||
use crate::steel::handlers::execution::{self, ScriptOperation};
|
||||
|
||||
const SYSTEM_COLUMNS: &[&str] = &["id", "deleted", "created_at"];
|
||||
|
||||
@@ -61,7 +60,8 @@ pub async fn post_table_script(
|
||||
|
||||
// Ensure the operation is valid (additional checks if needed)
|
||||
match operation {
|
||||
ScriptOperation::SetToColumn { .. } => {}, // Use directly without 'execution::'
|
||||
ScriptOperation::SetToLocalColumn { .. } => {},
|
||||
ScriptOperation::SetToExternalColumn { .. } => {},
|
||||
}
|
||||
|
||||
// Call validation functions
|
||||
|
||||
Reference in New Issue
Block a user