Skip to content

Commit

Permalink
don't promise that we'll keep call-reducer flags (although removing i…
Browse files Browse the repository at this point in the history
…n 1.0 would be breaking)

Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
Centril and gefjon authored Oct 22, 2024
1 parent 22de99e commit c659ca4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/cli/src/subcommands/generate/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,10 @@ impl {func_name} for super::RemoteReducers {{
/// Implemented for [`super::SetReducerFlags`].
///
/// This type is currently unstable and may be removed without a major version bump.
/// The ability to send over call-reducer flags in the protocol will however remain.
pub trait {set_reducer_flags_trait} {{
/// Set the call-reducer flags for the reducer `{reducer_name}` to `flags`.
///
/// This type is currently unstable and may be removed without a major version bump.
/// The ability to send over call-reducer flags in the protocol will however remain.
fn {func_name}(&self, flags: __ws::CallReducerFlags);
}}
Expand Down Expand Up @@ -1029,7 +1027,6 @@ impl __sdk::spacetime_module::InModule for RemoteReducers {{
/// Each method sets the flags for the reducer with the same name.
///
/// This type is currently unstable and may be removed without a major version bump.
/// The ability to send over call-reducer flags in the protocol will however remain.
pub struct SetReducerFlags {{
imp: __sdk::db_connection::DbContextImpl<RemoteModule>,
}}
Expand Down Expand Up @@ -1074,7 +1071,6 @@ pub struct DbConnection {{
/// via extension traits implemented for [`SetReducerFlags`].
///
/// This type is currently unstable and may be removed without a major version bump.
/// The ability to send over call-reducer flags in the protocol will however remain.
pub set_reducer_flags: SetReducerFlags,
imp: __sdk::db_connection::DbContextImpl<RemoteModule>,
Expand Down Expand Up @@ -1214,7 +1210,6 @@ pub struct EventContext {{
/// via extension traits implemented for [`SetReducerFlags`].
///
/// This type is currently unstable and may be removed without a major version bump.
/// The ability to send over call-reducer flags in the protocol will however remain.
pub set_reducer_flags: SetReducerFlags,
/// The event which caused these callbacks to run.
pub event: __sdk::event::Event<Reducer>,
Expand Down

0 comments on commit c659ca4

Please sign in to comment.