decentralized-identity / decentralized-identity/dwn-sdk-js

Investigate adding an error for invalid `PaginationCursor` value type.

Open
#664 0 comments 0 reactions 0 assignees View on GitHub
feature good first issue hacktoberfest
Dominant language
TypeScript
Stars
322
Forks
99
PR merge metrics
No merged PRs in 30d

Description

The `PaginationCursor` type accepts a `messageCid` and a `value` which could be typed as either a `string` or a `number`.

Depending on the `sort` field used, the value may be of an invalid type. We should check for this and throw an error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.