lightblue-platform/lightblue-esb-hook

Integrated fields projection evaluated for pre doc even if there is no post doc

Opened this issue · 0 comments

A simple optimization would be to check if the post doc is null before doing the pre doc projection. Currently this is only checked before doing the post doc projection, but events are only created if there is a post doc, so the pre doc projection is pointless.