Skip to content

Refactor db graph code - #240

Open
dkhofer wants to merge 18 commits into
mainfrom
refactor-db-graph-code
Open

Refactor db graph code#240
dkhofer wants to merge 18 commits into
mainfrom
refactor-db-graph-code

Conversation

@dkhofer

@dkhofer dkhofer commented Aug 5, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread src/updates/vcf.rs
assert_eq!(nodes.len(), 5);

let second_update = update_with_vcf(
let _second_update = update_with_vcf(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is clippy

@dkhofer
dkhofer force-pushed the refactor-db-graph-code branch from 5a47a89 to 5daab09 Compare August 5, 2026 17:01
Comment thread gen-core/src/graph.rs
@@ -0,0 +1,101 @@
use core::fmt;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These got added here as part of the refactoring, to avoid circular dependencies. I think they could get moved back to gen-models now but I don't have a strong opinion

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er, guess they came from gen-graph originally, maybe better to have them here than gen-models

@@ -0,0 +1,659 @@
use std::collections::{HashMap, HashSet, VecDeque};

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am open to better names for these files/modules and how the functions are organized within them, just wanted to extract this stuff out of models

@dkhofer
dkhofer requested a review from Chris7 August 5, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant