Closed simone-sanfratello closed 2 years ago
still have to write test on storage and reach 100% coverage
great work!
I'm collecting on top all the points
still have to work a lot on redis :)
and on gc
@mcollina wait to review, still a wip
looks good!
This needs lots of docs, specifically how to use references
I'm thinking of doing am extended use case in mercurius/cache
and link there for documentation, for 2 reason: it's hard to explain references talking with abstractions, and the result of documentation here would be very close to the mercurius/cache
one
wdyt?
Just do one and copy it over/adapt here. I think this deserves some docs anyway.
@mcollina apart of documentation, the code is done
there are some points in the code marked with TODO, we can probably check them later
I'm writing doc for mercurius-cache
for references and invalidation, then I'll port here
@mcollina done!
proposal for use of an external storage, with optional invalidation
TODO
storage gc functionuse a btree? a set?arrays are good enough