[Task]: Refactor ExampleCache
Open
beam-playground
improvement
P4
task
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
### What needs to happen?
Problems in `ExampleCache` to be fixed:
1. In production, `ExampleCache.init()` is called after creation. This should not be relied on because it can be missed.
2. In tests, `ExampleCache.init()` is not called, so tests do not mimic production.
3. `hasCatalog` property is alien and should be replaced with some methods called on an `ExampleCache` object if needed.
### Issue Priority
Priority: 3
### Issue Component
Component: beam-playground
Contributor guide
Assessment
This issue has not been assessed yet.