fastenhealth / fasten-onprem

Fasten is an open-source, self-hosted, personal/family electronic medical record aggregator, designed to integrate with 100,000's of insurances/hospitals/clinics
GNU General Public License v3.0
1.62k stars 84 forks source link

Caching graph in database #67

Open dominikbraun opened 1 year ago

dominikbraun commented 1 year ago

Hi, I'm the creator of graph and coincidentally noticed this ToDo:

https://github.com/fastenhealth/fasten-onprem/blob/3692fd462f830115f9eb2fd7af81ed7b5f32aa16/backend/pkg/database/sqlite_repository.go#L431

I'd like to point out that graph v0.16.0 will provide a Store interface and thus come with first-class support for database storages. Just FYI 🙂

AnalogJ commented 1 year ago

Hey @dominikbraun this is great, thanks! I'll definitely take a look at v0.16 once its released.

I also had some ideas about helper functions for transiting the graph, but I'll open an issue in your repo :)