mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
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:
@ -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 }
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user