Fixing CRDT tests

This commit is contained in:
Dave Hrycyszyn
2024-06-25 14:09:41 +01:00
parent 9c00a7f30a
commit 6b29d49aaa
3 changed files with 20 additions and 14 deletions

View File

@@ -109,6 +109,12 @@ pub fn derive_json_crdt(input: OgTokenStream) -> OgTokenStream {
}
}
// I'm pulling this out so that we can see actual CRD content in debug output.
//
// The plan is to mostly get rid of the macros anyway, so it's a reasonable first step.
// It could (alternately) be just as good to keep the macros and change this function to
// output actual field content instead of just field names.
//
// impl #impl_generics std::fmt::Debug for #ident #ty_generics #where_clause {
// fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
// let mut fields = Vec::new();