Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.
This repository was 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

@sandromastronardi

Description

@sandromastronardi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions