Skip to content

Nullability - IApiKeyProvider.ProvideAsync should return Task<IApiKey?> #42

Closed
@skyflyer

Description

@skyflyer

Hello!

Thanks for the library 🙏!

Would you agree that it would be proper that the method declaration (ProvideAsync) in the IApiKeyProvider interface should return nullable value since it is explicitly checked in the handler? That way, no compiler warnings would be present (or escape hatches with !) 😄

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