refactor: rename group (#3815)

* chore: add group operation interceptor

* refactor: impl interceptor trait

* chore: update type option when group change

* test: fix test
This commit is contained in:
Nathan.fooo
2023-10-28 11:48:28 +08:00
committed by GitHub
parent 09b4e19c9d
commit e28e5a0649
34 changed files with 980 additions and 743 deletions

View File

@ -12,6 +12,7 @@ bytes = "1.4"
anyhow = "1.0"
thiserror = "1.0"
validator = "0.16.0"
tokio = { version = "1.0", features = ["sync"]}
fancy-regex = { version = "0.11.0" }
lib-dispatch = { workspace = true, optional = true }

View File

@ -157,3 +157,9 @@ impl From<fancy_regex::Error> for FlowyError {
FlowyError::internal().with_context(e)
}
}
impl From<tokio::sync::oneshot::error::RecvError> for FlowyError {
fn from(e: tokio::sync::oneshot::error::RecvError) -> Self {
FlowyError::internal().with_context(e)
}
}