Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Error because constructor is missing for the CosmosStoreTrigger extension for azure functions #131

Open
sandromastronardi opened this issue Jun 22, 2020 · 0 comments

Comments

@sandromastronardi
Copy link

When I use the CosmosStoreTrigger in my function to trigger when a document changes, I get this error when the function app starts:
The 'xxx' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'xxx'. Cosmonaut.WebJobs.Extensions: Method not found: 'Void Cosmonaut.CosmosStoreSettings..ctor(System.String, System.Uri, System.String, Microsoft.Azure.Documents.Client.ConnectionPolicy, Microsoft.Azure.Documents.IndexingPolicy, Int32, Boolean, Int32)'.

Apparently, at some point some constructors were removed, but the NuGet wasn't updated? It's still in preview, but now it just doesn't work... I tried taking an earlier version (2.9.0) but It didn't help, I guess it wasn't far enough back, but I'd rather use a more recent version.

I tried pinpointing it in the code, but couldn't seem to find where it is caused...

Regards,

Sandro Mastronardi

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

No branches or pull requests

1 participant