Giter VIP home page Giter VIP logo

Comments (3)

CommonGuy avatar CommonGuy commented on September 1, 2024

Yes, this is a bug in the current Kreya version. It will be fixed in the upcoming v1.6 release.

As an aside, the bug exists because we can only add proto files as relatives path (relative to the import path(s)). Given the following directory structure:

/root
  /v1
    serviceA.proto
  /v2
    serviceA.proto

The current Kreya version will first add /root, /root/v1 and /root/v2 as import paths, then the serviceA.proto file (only once, since duplicates are ignored). The upcoming Kreya version will only add /root as an import path and the files correctly as v1/serviceA.proto and v2/serviceA.proto.

Note that if you would add /root/v1 and /root/v2 manually as separate import paths, it will still not work in future versions, since the relative paths would still be the same. The import path has to be the parent /root folder.

from kreya.

CommonGuy avatar CommonGuy commented on September 1, 2024

If you want, you can already try it out in the 1.6.0-beta.1 version by switching the release channel in the About window and checking for updates. Note that the beta version may contain bugs.

from kreya.

CommonGuy avatar CommonGuy commented on September 1, 2024

V1.6 has been released

from kreya.

Related Issues (20)

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.