Elliot Thomas
Elliot Thomas
> > Though I'd prefer to have the option as I'm trying to introduce here, to not sort them > > Agree that it would be needed on a more...
Working on tests for the new logic 👾
So one thing I've realised is that with the roots not being sorted at serialisation we consider two workspaces with a different path order as different, which I'm not sure...
> we do not anyhow persist the roots' order between restarts Correct for main, however I removed the sort in the serialisation leading to the persistence. Though this now treats...
Also it seems my `cargo test --workspace` is not happy and can't connect to the database even though I started the docker compose environment... will have to figure that out...
Interesting, I'll try that, the docs say `cargo test --workspace` ^^
Apologies, thought I'd made it draft again! ^^ I'm working on the DB changes to persist it, but need to decide on the best way to do so.
Trying to figure out where to store it, but there's a lot going on in here 😅 If I'm reading this all correctly, this will only need to be stored...
Never mind, going to add it to the `SerializedWorkspaceLocation::Local` struct ^^ just working on it and all the required methods for serialisation.
I have made a start on the saving and loading though it does not yet work, but my brain is too fried tonight to see why so I shall continue...