-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Are there any suggestions on how to implement these two helpers?
const graph = new DepGraph() // adding nodes a, b, c, d, etc
const serializedGraph: Record<string, unknown> = serialize(graph) // unknown could be a specific type
const insertedRow = database.insert({ serializedGraph }) // putting serialized graph into a database using something like prisma or sequelize
const const deserializedGraph: DepGraph<T> = deserialize(insertedRow.serializedGraph) // T could be a specific type as well
Great library!
Metadata
Metadata
Assignees
Labels
No labels