-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Service Arch
-
Fully Compatible
The Command infrastructure uses a combination of OperationContext, OpMsgRequest, and CommandInvocation, all by pointer or reference, for many function signatures. However, both the OMR and the CI have well defined lifetimes and factory functions. We can annotate the OperationContext with pointers to the other two types and reset those pointers when the underlying memory goes out of scope. This will allow us to tremendously simplify the api around commands.