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

[CS-05] protofile for microservices communication #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

ZeineI
Copy link
Collaborator

@ZeineI ZeineI commented Oct 19, 2022

CS-05
What:
Protofile
Why:
Set up communication between microservices
How:
By using gRPC

}

message IssueCertificateResp {
string name = 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

oneof {} - мы его не говорили, чтобы не усложнять. Но вот тут можно использовать

}

message StudentMessage {
string forename = 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

forename - немного устаревшее слово. Чаще всё же firstname
surname тоже обычно называется lastname


message IssueCertificateReq {
StudentMessage student = 1;
string templateName = 2;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Составные слова в прото чаще template_name

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