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

postsubmit-batch endpoint #30

Merged
merged 8 commits into from
Oct 20, 2022
Merged

Conversation

tinystarinagalaxy
Copy link
Contributor

No description provided.

proto/api.proto Outdated
@@ -660,10 +672,35 @@ message PostSubmitRequest {
bool skipPreFlight = 2;
}

message PostSubmitBatchRequestEntry {
Copy link

Choose a reason for hiding this comment

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

Maybe just reuse PostSubmiRequest instead of creating this struct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok done

message PostSubmitResponse {
string signature = 1;
}

message PostSubmitBatchResponseEntry {
string signature = 1;
string error = 2;
Copy link

Choose a reason for hiding this comment

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

perhaps also a boolean that indicates if it's submitted or not? could encapsulate that in error as well –– wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i think a boolean is a better idea. makes the client to figure out if it was submitted instantly rather checking error messages for something that is not an error

@tinystarinagalaxy tinystarinagalaxy force-pushed the TRAD-271-post-submit-batch branch from d9cdc9c to cfcd30b Compare October 20, 2022 16:46
@tinystarinagalaxy tinystarinagalaxy merged commit aaec322 into develop Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants