Giter VIP home page Giter VIP logo

Comments (4)

iamazeem avatar iamazeem commented on August 27, 2024

Hi @sergio239new,

Thank you for reporting this!

Adding a --proto_path flag seems plausible.
But, what if there are multiple paths?
What do you think whether this flag should handle a single or multiple paths?

If you could attach some sample files with steps to reproduce this, that would be great.
I would be able to test and iterate on this much faster. Thanks!

from proto-convert.

sergio239new avatar sergio239new commented on August 27, 2024

Hi,

to your question, according Google docs: "Multiple import directories can be specified by passing the --proto_path option multiple times"
Maybe same option for proto-convert ?

.. and sorry, can't publish a sample, because of restrictions, is for work..

from proto-convert.

iamazeem avatar iamazeem commented on August 27, 2024

Yes, that's what I was thinking about.

Regarding samples, no worries.
I'll handle that. Thank you! 👍

from proto-convert.

iamazeem avatar iamazeem commented on August 27, 2024

@sergio239new

I've spent some time on it and found out that to make this fully work protoc is required to generate code for all the dependencies (imported proto files) which it, at the moment, does not. Without code generation for the dependencies, proto-convert won't be able to work as it needs to have those available to translate messages.

If you have any suggestions on this, please do let me know. Thanks!

from proto-convert.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.