Skip to content

Campatability with google/protobuf #432

@stan-stately

Description

@stan-stately

Hi, I'm trying to migrate my codebase from google-protobuf to ruby-protobuf but there are some legacy protos that I cant remove yet that are generated google-protobuf.

Now that I've added ruby-protobuf to my application im noticing that I cant even import these legacy google protos anymore. I just get

ArgumentError:
  wrong number of arguments (given 2, expected 0..1)

at the line that runs: require 'google/protobuf'

Can anyone confirm whether or not an application should be able to support both, side by side.

If its a bug I can make a repro but i dont want to spend time on this if its an unsupported usecase

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions