-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doubts about code generated for streetlights.yaml #77
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
Hi @alberto1980 Regarding Regarding the generation itself. Message classes are not used at the moment, it is for the future when template will support headers and message traits. Also please check updated version of streetlights from the site. Soon PR will make template compatible with it. |
🎉 This issue has been resolved in version 0.20.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I have some doubts about code generated with streetlights.yaml. There are some classes that I misunderstand
LightMeasured is a class that never is used in the generated code
On the other hand, handleReceiveLightMeasurement method at MessageHandlerService has this contract public void handleReceiveLightMeasurement(Message<?> message)
shouldnt it be public void handleReceiveLightMeasurement(Message message) { ???
PubishService Interface has methods like turnOn, turnOff, dimlight whose arguments are String instead of playLoad generated (TurnOnOffPlayload, DimLightPlayload). Is it right?
The text was updated successfully, but these errors were encountered: