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

[Visual Studio] IQueryable<T> Table binding direction is "out" in function.json #348

Closed
gjlumsden opened this issue Jun 20, 2017 · 3 comments

Comments

@gjlumsden
Copy link

I have the following parameter in a function decorated with the TableAttribute:

[Table("%ArchiveTableName%", Connection="ArchiveTableConnection")] IQueryable<ArchivedEntity> tableQueryable

Which results in the following binding configuration in function.json:

{
      "type": "table",
      "connection": "ArchiveTableConnection",
      "tableName": "%ArchiveTableName%",
      "direction": "out",
      "name": "tableQueryable"
}

with "direction" set to "out". When the function runs, everything works as expected. Shouldn't the "direction" be set to "in" for an IQueryable<T> Table binding? According to the documentation for table bindings, IQueryable<T> is only valid for an input binding.

@ahmelsayed
Copy link

@gjlumsden
Copy link
Author

It does. Apologies. The issue is already logged there.

@lindydonna
Copy link
Contributor

@gjlumsden Thanks for following up. Closing this issue as a duplicate.

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

No branches or pull requests

3 participants