decentralized-identity / decentralized-identity/decentralized-web-node

Update RecordsRead spec definition to utilize a Filter

Open
#263 0 comments 0 reactions 1 assignee Claimed by @LiranCohen View on GitHub
artifact: spec
Dominant language
HTML
Stars
413
Forks
75
PR merge metrics
No merged PRs in 30d

Description

There has been a change in the DWN SDK which now allows you to issue a `RecordsRead` using the same type of Filter that you would use in `RecordsQuery`.

If the provided filter returns more than 1 result, an error is returned from the DWN, otherwise the record is returned.

This allows the user to create and read records by a `protocolPath` so long as that Filter will only produce 1 record.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.