LionWeb-io / lionweb-repository

Reference implementation of LionWeb repository
Apache License 2.0
2 stars 1 forks source link

Feature/optional history #58

Closed joswarmer closed 1 month ago

joswarmer commented 1 month ago

Add option to use a database without any history, the current tests run about 20% to 25% slower with history compared to without history. Note that the history tabel is still there, and the repo version is till part of t he response. This way clients can see whether there have been changes since some previous time. Having no history means that only the current nodes are stored in the database, so the history API will not work.

Technically this is done by creating different tables at database initialisation time.

NOTE: the first eight commits are because of a rebase upon development.