-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Labels
Description
IConfiguration.Bind is not trimmer friendly.
We use this method to bind to GrpcWorkerStartupOptions type, which is to represent the data from the command line arguments sent from host
azure-functions-dotnet-worker/src/DotNetWorker.Grpc/GrpcServiceCollectionExtensions.cs
Lines 92 to 96 in 1da3c27
| services.AddOptions<GrpcWorkerStartupOptions>() | |
| .Configure<IConfiguration>((arguments, config) => | |
| { | |
| config.Bind(arguments); | |
| }); |