[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: SERVER-32454 Add support for decorations referring to their owners
Branch: master
https://github.com/mongodb/mongo/commit/f803bdacee6bf60589e6478e43f17b5e4b856a8f

Generated at Thu Feb 08 04:30:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.