Problem/Motivation
The new Radioactivity Reference is designed to provide better performance by not changing the host entity. But currently the field formatters break this promise by rendering the value of the referenced entity. This will result in cache invalidation of the host entity each time the referenced energy value changes.
Proposed resolution
This can be resolved by rendering the energy value through a lazy builder.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | radioactivity-3255959-lazy-builder-4.patch | 7.51 KB | sutharsan |
| #3 | radioactivity-3255959-lazy-builder-3.patch | 4.68 KB | sutharsan |
| #2 | radioactivity-3255959-lazy-builder-2.patch | 4.2 KB | sutharsan |
Comments
Comment #2
sutharsan commentedInitial patch to add a lazy builder.
Comment #3
sutharsan commentedFixing a bug in the emitter, not emitting when the value is displayed.
Comment #4
sutharsan commentedAdded a unit test for the new lazy builder service.
Comment #5
sutharsan commentedComment #7
sutharsan commented