Skip to content

Commit

Permalink
Merge pull request #7 from fraktalio/renovate/fmodel-rust-0.x
Browse files Browse the repository at this point in the history
Update Rust crate fmodel-rust to 0.5.0
  • Loading branch information
idugalic authored Dec 17, 2023
2 parents a3ef030 + 2cbc453 commit 1976b72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Ivan Dugalic <[email protected]>"]


[dependencies]
fmodel-rust = "0.4.0"
fmodel-rust = "0.5.0"
async-trait = "0.1.74"
actix-cors = "0.6.5"
actix-web = "4.4.0"
Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use actix_web::{http::header, web, App, HttpServer};
use dotenv::dotenv;
use env_logger::{init_from_env, Env};
use fmodel_rust::aggregate::EventSourcedAggregate;
use fmodel_rust::decider_combined::combine;
use fmodel_rust::materialized_view::MaterializedView;
use fmodel_rust::saga_manager::SagaManager;
use log::{debug, error, info};
Expand Down Expand Up @@ -109,7 +108,7 @@ async fn main() -> std::io::Result<()> {
// Combined aggregate - command side
let _combined_aggregate = Arc::new(EventSourcedAggregate::new(
event_repository,
combine(restaurant_decider(), order_decider()),
restaurant_decider().combine(order_decider()),
));

// ###### QUERY SIDE ######
Expand Down

0 comments on commit 1976b72

Please sign in to comment.