Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.91k stars 435 forks source link

Lazily load builtin extensions #1637

Open MikeStall opened 7 years ago

MikeStall commented 7 years ago

Builtin extensions should use the BYOB stack and be lazily loaded. We can do this in a non-breaking way by having a static map for builtins types to their appropriate assembly, and then rely on BYOB.

https://github.com/Azure/azure-webjobs-sdk-script/issues/1406 tracks moving other bindings to the BYOB stack. https://github.com/Azure/azure-webjobs-sdk-script/issues/1586 tracks a means for specifying and loading non-builtin extensions.

MikeStall commented 6 years ago

We needed to pull this fix since it broke customers in some corner cases:

  1. 1295

  2. https://social.msdn.microsoft.com/Forums/en-US/4a762fc0-dedc-4212-b8be-b2f789ea9595/sendgrid-stopped-working-with-cs0006-on-20170809-in-my-azure-function?forum=AzureFunctions

Need to either take a breaking change, or find some way to opt in.