Closed
Description
Bug Report
Describe the Bug
A mixup of orElse VS orElseGet causes document to be loaded every time, even though cache is being hit.
Expected Behavior
Cached document should not be loaded again.
Context Information
- Used version EDC 0.7
Detailed Description
If applicable, add screenshots and logs to help explain your problem.
Possible Implementation
Switching to orElseGet solves the issue. This does save extra 2-5ms per execution.