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

fix: Use snake-case for did.proto + proto lint fixes #171

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

youngjoon-lee
Copy link
Contributor

Closes #170

@youngjoon-lee youngjoon-lee requested a review from gyuguen July 8, 2021 05:27
@youngjoon-lee youngjoon-lee requested a review from cl9200 as a code owner July 8, 2021 05:27
Comment on lines -14 to +15
// DIDDocumentWithSeq returns a DID Document with a sequence number.
rpc DIDDocumentWithSeq(QueryDIDRequest) returns (QueryDIDResponse) {
// DID returns a DID Document with a sequence number.
rpc DID(QueryDIDRequest) returns (QueryDIDResponse) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Due to

{"path":"proto/panacea/did/v2/query.proto","start_line":15,"start_column":58,"end_line":15,"end_column":74,"type":"RPC_RESPONSE_STANDARD_NAME","message":"RPC response type "QueryDIDResponse" should be named "DIDDocumentWithSeqResponse" or "QueryDIDDocumentWithSeqResponse"."}

Similar as

rpc Topic(QueryTopicRequest) returns (QueryTopicResponse) {

Copy link
Contributor

@gyuguen gyuguen left a comment

Choose a reason for hiding this comment

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

👍
Good :)

@youngjoon-lee youngjoon-lee merged commit 0995514 into master Jul 8, 2021
@youngjoon-lee youngjoon-lee deleted the fix/170/did_snake branch July 8, 2021 06:06
@youngjoon-lee youngjoon-lee added this to the v2.0.0 milestone Jul 12, 2021
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.

Use snake-case for field names in did.proto
2 participants