Trigger fired function receives empty context.services with CREATE_COLLECTION event

Hi @Ben_Soille,

That’s a different issue: only a limited subset of the MongoDB Driver capability is available to Functions, and dropCollection() isn’t among the supported commands. If you need to call privileged commands like dropCollection() or adminCommand(), then Triggers isn’t the right solution.

And again, trying JSON.stringify() on internal structures isn’t significant, them being non-null is the most you can check.