Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input Parameters Published Incorrectly as Output Parameters #54

Closed
lindydonna opened this issue Jun 1, 2017 · 4 comments
Closed

Input Parameters Published Incorrectly as Output Parameters #54

lindydonna opened this issue Jun 1, 2017 · 4 comments
Assignees
Milestone

Comments

@lindydonna
Copy link

lindydonna commented Jun 1, 2017

From @jchilde on May 27, 2017 16:50

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<HttpResponseMessage> 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.

Copied from original issue: Azure/Azure-Functions#318

@lindydonna lindydonna added the bug label Jun 1, 2017
@lindydonna
Copy link
Author

@ahmelsayed Could you take a look?

@ahmelsayed
Copy link
Contributor

ref: Azure/azure-functions-host#1507

@MikeStall
Copy link

This will get solved with Azure/azure-functions-host#1508

@lindydonna
Copy link
Author

This is already fixed in alpha6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants