Add new message flags parameter to op modifier

This commit is contained in:
NG (Graham) committed 2025-05-29 22:10:21 -04:00
1 parent 17310906f6
commit 95666c30d1
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ impl OpIdCopy {
}
impl <C: Clone + Send + Sync + 'static> OperationModifier<C> for OpIdCopy {
fn after(&self, req: &mut polariton::operation::OperationRequest<C>, resp: &mut polariton::operation::OperationResponse<C>) {
fn after(&self, req: &mut polariton::operation::OperationRequest<C>, resp: &mut polariton::operation::OperationResponse<C>, _flags: &mut u8) {
if resp.params.get(&Self::SERVICE_MAPPING_KEY).is_none() {
if let Some(svelto_service_id) = req.params.get(&Self::SERVICE_MAPPING_KEY) {
resp.params.insert(Self::SERVICE_MAPPING_KEY, svelto_service_id.to_owned());