decentralized-identity/decentralized-web-node

Update RecordsRead spec definition to utilize a Filter

Opened this issue · 0 comments

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.