Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: add compatibility with @golevelup/rabbitmq
  • Loading branch information
lucas-gregoire committed Nov 3, 2023
commit 85c491f2c0b822943bf654c21de77f19cb2c4282
2 changes: 2 additions & 0 deletions src/utils/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export function getContextObject(
return context.getArgs()[2];
case 'rpc':
return context.switchToRpc().getContext();
case 'rmq':
return context.getArgs()[1];
default:
logger.warn(`context type: ${contextType} not supported`);
}
Expand Down