Skip to content

Commit

Permalink
fixup settingexecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Nov 19, 2024
1 parent fb80933 commit 1fd44c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/rust.module_settings/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@ pub struct HookContext<'a> {
pub data: &'a SettingsData, // The data object
}

/// Settings can (optionally) have a post-action to allow for custom data validation/processing prior to executing an operation
///
/// Note that post-actions are guaranteed to have all data of the column set in state when called
/// Settings must have an executor. Lua templates can also be used to provide the executor using events
#[async_trait]
pub trait SettingExecutor: Send + Sync {
/// View the settings data
Expand Down

0 comments on commit 1fd44c1

Please sign in to comment.