-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: master
Are you sure you want to change the base?
Conversation
} | ||
|
||
message IssueCertificateResp { | ||
string name = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oneof {} - мы его не говорили, чтобы не усложнять. Но вот тут можно использовать
api/proto/proto/certificate.proto
Outdated
} | ||
|
||
message StudentMessage { | ||
string forename = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forename - немного устаревшее слово. Чаще всё же firstname
surname тоже обычно называется lastname
api/proto/proto/certificate.proto
Outdated
|
||
message IssueCertificateReq { | ||
StudentMessage student = 1; | ||
string templateName = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Составные слова в прото чаще template_name
CS-05
What:
Protofile
Why:
Set up communication between microservices
How:
By using gRPC