[SERVER-32454] Allow Decorations to refer to their Decorable owner Created: 23/Dec/17 Updated: 30/Oct/23 Resolved: 11/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Storage 2018-01-15 |
| Participants: |
| Description |
|
We currently use the Decorable / Decoration pattern to allow avoiding dependencies of the Decorable on the Decoration. However, a dependency in the other direction is often fine, and it is useful for the decoration to be able to refer back to its owner. |
| Comments |
| Comment by Githook User [ 11/Jan/18 ] |
|
Author: {'email': 'geert@mongodb.com', 'name': 'Geert Bosch', 'username': 'GeertBosch'}Message: |