Skip to content

Fix ambiguous Healthcheck #19

@agentschmitt

Description

@agentschmitt

The method to add healthcheck "AddMongoDb" currently requires that we put in the "name" or a list of credentials.

Otherwise when we just pass an optional parameter like timeout: TimeSpan.FromSeconds(10) the call will be ambiguous.
We may change "name" param to be mandatory, or we could choose different names for the methods.

https://github.com/SamhammerAG/Samhammer.Mongo/blob/master/src/Samhammer.Mongo/Health/HealthChecksBuilderExtensions.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions