Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

Input Parameters Published Incorrectly as Output Parameters

Open jchilde opened this issue 9 years ago • 2 comments

Using VS 15.3 preview, .Net.Sdk.Functions 1.0.0-alpha5, and latest Functions VSIX

I created an Http Triggered function with following bindings:

public static async Task Run( [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = "graph/{TenantId}/{UPN}")] HttpRequestMessage req, string TenantId, [Table("Customers", partitionKey: "{TenantId}", rowKey: "TenantId")] CustomerEntity customerEntity, TraceWriter log, string UPN )

The functions works as expected from VS 2017 pulling customerEntity as an Input Table Binding.

Next I publish to Azure.

I notice that customerEntity is now identified as an Output Table Binding. Function will not execute on Azure.

jchilde avatar May 27 '17 16:05 jchilde

@ahmelsayed Could you take a look?

lindydonna avatar May 30 '17 22:05 lindydonna

This issue was moved to Azure/azure-functions-vs-build-sdk#54

lindydonna avatar Jun 01 '17 00:06 lindydonna