Skip to content

Metadata ergonomics #327

Closed
Closed
@molpopgen

Description

@molpopgen

The current metadata API returns Result<Option<_>, _>. The error state happens when inputs are out of bounds. We should take a clue here from stdlib and just return None for such out of bounds cases.

IMO, it is worth it to streamline code using this part of the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API breakingIssues/PRs that may break API.ergonomicsIssues/PRs related to API ergonomics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions