I have an event called IncidentCreated which takes in the incident id. There are two event listeners using the OnEvent decorator. Both of these will need to fetch the Team that is connected to this incident. Since I am going to be adding many more event listeners in the future for this same event, and all of them will probably need to fetch the Team. How would guys go about eliminating the duplicate queries and making this setup more performant? I considered adding the team object to the event itself, but it feels like the event shouldn't have anything to do with that (or should it?).
Just curious how you guys might approach this. Thanks!