Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

feat: add additional information to GetBySubjectDigest #1

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

mikhailswift
Copy link
Member

adds collectionName to constrain results by an attestation collection's
name. adds more metadata to the search response.

@mikhailswift
Copy link
Member Author

oh, also moved the Store rpc call to the Collector service

adds collectionName to constrain results by an attestation collection's
name.  adds more metadata to the search response.

Signed-off-by: Mikhail Swift <[email protected]>
Copy link
Contributor

@fkautz fkautz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor change, setting as approved as approved and will merge. Will follow up with a PR shortly after.

@@ -23,20 +23,21 @@ import "google/protobuf/empty.proto";
message GetBySubjectDigestRequest {
string algorithm = 1;
string value = 2;
optional string collectionName = 3;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional is a noop in proto3. All fields are considered optional in the line protocol and code generation. Our application should enforce logic regarding required/optional instead.

@fkautz fkautz merged commit 028494b into main Jul 7, 2022
@fkautz fkautz deleted the feat/search branch July 7, 2022 04:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants