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
java-eventing-shopping-cart with codegen #282
Conversation
d4ea8e9
to
01ee0d7
Compare
Just fixing docs to compile with these changes, let's revisit how good the docs are separately and I'll continue with testkit instead for now. |
|
||
private static Logger LOG = LoggerFactory.getLogger(ShoppingCartView.class); | ||
private static Logger LOG = LoggerFactory.getLogger(ShoppingCartViewServiceView.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch... I guess our convention should be not to suffix Service
to protobuf services? Anyway not directly relevant to this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I agree it's not great, some related discussions in #238
@@ -33,6 +33,9 @@ message TopicOperation { | |||
} | |||
|
|||
service ShoppingCartTopicService { | |||
option (akkaserverless.service) = { | |||
type : SERVICE_TYPE_ACTION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a protobuf style guide somewhere? I think I'd use 2-space indents and no space between type :
, but I'm not sure if we decided on anything. Anyway perhaps not for this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we should (at some point) lint these like we do in the framework project.
Refs #277