# Scope diff patch cache key by theme · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/8a567ba3d59c58819133b30b38e268ef72d1f543)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: 8a567ba3d59c58819133b30b38e268ef72d1f543

Requested commit: 8a567ba3d59c58819133b30b38e268ef72d1f543

Commit: 8a567ba3d59c58819133b30b38e268ef72d1f543

Tree: 7c584dd8b078f4f42096c4f1e93ab7bf7300cefe

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Scope diff patch cache key by theme

- pass a cache scope into `getRenderablePatch` and include resolved theme in DiffPanel cache keys
- add a test proving `buildPatchCacheKey` changes when cache scope changes

```

## Parents

- [5748a995f7303a75baee57010beaaa94db1d50ad](https://git.cafe/flambo/t3code/commit/5748a995f7303a75baee57010beaaa94db1d50ad?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/8a567ba3d59c58819133b30b38e268ef72d1f543?format=markdown)
