GithubHelp home page GithubHelp logo

Comments (2)

octonato avatar octonato commented on September 27, 2024

It also breaks if we define the RefId inside one of the main proto files.

For instance, if I move it inside counter_action.proto the action generation is correct. However, I want to use that same type in the counter_api.proto. If I import it there, the registerValueEntity will get a Com.example.RefId.placeholder.getDescriptor().

To give more context on why I'm trying to share a message.
This is because I want the action to forward to the entity and the return types need to align. This SDK limitation is forcing the sharing of messages types. In any case, even if we remove this limitation from the SDK (which will require a major change) we should be allowed to share types between the proto definitions.

Btw, it's puzzling why it works for EmptyProto and not for RefIdProto. Why are we treating this two differently? Can it be that we generate a placeholder for all files we find and after processing them we forget about this placeholder because it's a standalone definition?

from kalix-jvm-sdk.

patriknw avatar patriknw commented on September 27, 2024

I tried this and can't reproduce with the new codegen.

from kalix-jvm-sdk.

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.