Hi guys,
Thanks for making this project OS.
I started learning Weaver and here are some points that I would like to share:
1 - The documentation states that route invocations on the same replica are not guaranteed, this is true for the 'factors' cache example, which does not depend on routing correctness, however, on 'onlineboutique' example CartCache depends on this. So I modified the code to use a distributed cache
https://github.com/andref5/weaver/blob/refact/local-cache/examples/onlineboutique/cartservice/cache.go and I was wondering if it's worth creating a PR.
2 - While I was editing 'CartCache' it broke 'weaver_gen.go' and 'go generate' fails and I manually needed to delete this file. The documentation recommends 'go generate' and I don't know if this approach will be good for large codebases.
3 - While I was coding the cache for Redis, I looked for a function in Weaver to do marshal(LPush) and unmarshal (LRange), looking at the generated codes I would have to preallocate a buffer (codegen pkg). I ended up using json.Marsharl/Unmarshal and wondered if it wouldn't be interesting for the Weaver to have a more generic function that accepts a []byte to use outside of method calls.
Thanks,