Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
Merge branch 'feat/online2'
appflowye55b79d3e668
diff --cc shared-lib/flowy-derive/src/proto_buf/serialize.rsindex 9a14034c18,3a9f32bb93..42f2556209--- a/shared-lib/flowy-derive/src/proto_buf/serialize.rs+++ b/shared-lib/flowy-derive/src/proto_buf/serialize.rs@@@ -109,9 -122,16 +122,16 @@@ fn gen_token_stream(ctxt: &Ctxt, member}}-// e.g. pub cells: Vec<CellData>, the memeber will be cells, ty would be Vec+// e.g. pub cells: Vec<CellData>, the member will be cells, ty would be Vecfn token_stream_for_vec(ctxt: &Ctxt, member: &syn::Member, ty: &syn::Type) -> Option<TokenStream> {- let ty_info = parse_ty(ctxt, ty)?;+ let ty_info = match parse_ty(ctxt, ty) {+ Ok(ty_info) => ty_info,+ Err(e) => {+ eprintln!("token_stream_for_vec failed: {:?} with error: {}", member, e);+ panic!();+ },+ }?;+match ident_category(ty_info.ident) {TypeCategory::Protobuf => Some(quote! {pb.#member = ::protobuf::RepeatedField::from_vec(