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

Add support for google-protobuf #59

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qnighy
Copy link

@qnighy qnighy commented Feb 8, 2024

This PR adds implementation for generating type signatures for those generated by protoc --ruby_out=... and grpc_tools_ruby_protoc.

The code generation part is almost complete under the assumption that the appropriate counterpart exists in the signatures for google-protobuf and grpc, namely:

  • google-protobuf
    • class Google::Protobuf::AbstractMessage
    • class Google::Protobuf::RepeatedField[out Elem, in ElemWrite]
    • class Google::Protobuf::Map[out Key, out Value, in KeyWrite, in ValueWrite]
    • class Google::Protobuf::EnumDescriptor
    • Those generated from google.protobuf.* packages
  • grpc
    • module GRPC::GenericService
    • class GRPC::ActiveCall::SingleReqView
    • class GRPC::ActiveCall::MultiReqView[out Req]
    • class GRPC::ActiveCall::Operation[out Result]
    • class GRPC::ClientStub
    • class GRPC::Core::Call
    • class GRPC::Core::CallCredentials

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.

1 participant