Comments (2)
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.
I tried this and can't reproduce with the new codegen.
from kalix-jvm-sdk.
Related Issues (20)
- Maven Surefire/Failsafe bump needs investigation
- failed: Maven sample (java-protobuf-customer-registry-kafka-quickstart) HOT 2
- Improve feedback for missing msg on Eventing testkit
- Create a Kalix Java/protobuf BOM
- blocking call to a view blocks the first action execution HOT 5
- Build tests infra to verify that components wiring works as expected
- Filter/middleware APIs
- Release Kalix Java/Scala SDKs v1.3.5
- Eventing Testkit timing out when running multiple integration tests HOT 1
- use more generic typeUrl for Java primitives for code first sdk
- Use Java 21 instead in samples and templates HOT 4
- docs links should be different depending on the SDK
- Use `USER_SERVICE_HOST` and `USER_SERVICE_PORT` instead HOT 1
- support event/state rename in proto sdks
- deserializing proto event payload with non backward compatible change uses a default values HOT 3
- Release Kalix Java/Scala SDKs v1.3.6 HOT 1
- null parameter to workflow step HOT 3
- Release Kalix Java/Scala SDKs 1.3.7 HOT 2
- Add CI test using archetypes
- Allow passing Metadata for asyncReply HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kalix-jvm-sdk.