Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RecordsRead spec definition to utilize a Filter #263

Open
LiranCohen opened this issue Sep 20, 2023 · 0 comments
Open

Update RecordsRead spec definition to utilize a Filter #263

LiranCohen opened this issue Sep 20, 2023 · 0 comments
Assignees
Labels
artifact: spec intended for the actual specification

Comments

@LiranCohen
Copy link
Member

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.

@LiranCohen LiranCohen self-assigned this Sep 20, 2023
@andorsk andorsk added the artifact: spec intended for the actual specification label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
artifact: spec intended for the actual specification
Projects
None yet
Development

No branches or pull requests

2 participants