Closed hgeorgsch closed 2 years ago
This requires some refactoring of the STM module, I think. The raw graph should be replaced in the STM monad, but the augmented graphs should be defined only implicitly, by applying the reasoner in a function used to retrieve data from the monad. Currently only the Character Map is derived that way.
This needs to be reviewed, as we now need to put to the raw graph and not the derived one.
The problem at the moment is that the deletion of the old triples does not work as it should.
advancement contents is now correctly updated. the advancement traits are lost however.
This seems to work now.
We need to extract the old subgraph, delete it, convert the JSON submission into a graph and add it, and finally rebuild all the character sheets.