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
Upgrading to 1.0.1 CLI tools and SDK starts breaking things #1783
Comments
What version of DocumentDB are you referencing? It's possible that you moved up to a version that we don't support and it's resulting in a bad error message. |
Originally I had the following:
I upgraded now to
For the DocumentDB I didn't upgrade anything,
This is just my complete .csproj
Only thing I changed was the Sdk. |
Actually -- you may be hitting some of the 'improved' signature error detection that's been added fairly recently. Can you change the attribute to just be |
Also -- do you see this error when you run locally? or just when you deploy to Azure? |
Hmm? If I change it to just [DocumentDb] then the generated package.json is wrong. This is running local environment.
Nevertheless, I still get the same error when I remove all the properties in the attribute [DocumentDb]. |
Thanks for all the details -- I see this locally as well. I'm going to confer with some tooling experts and see if we can figure out what's going on. |
I found the issue and filed Azure/azure-functions-core-tools#206. The easiest workaround until we have an update:
|
That fixes it. Thank you! |
If anyone is also having this issue, verify that you executed the Functions project at least on time locally. Otherwise you won't be able to find the |
@brettsam followed all the instructions, but still ending up without having a binding defined for so the function definition looks like this
the
Wondering if anyone gets this up and running. It's a clean windows 10 VM with latest VS2017 and all updates installed |
Investigated a bit more time here, it seems like there is no binding required for I think docs should point to that |
Were you expecting to see the binding in your |
After upgrading to 1.0.1 CLI tools without any code changes, I suddenly started to get the following error:
The following code:
I thought Id is optional? At least that's what the docs says.
According to the docs:
The generated json:
I'm using 1.0.0 SDK
The text was updated successfully, but these errors were encountered: