Skip to content
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

Merged
merged 2 commits into from Sep 7, 2021

Conversation

johanandren
Copy link
Contributor

@johanandren johanandren commented Sep 6, 2021

Refs #277

@johanandren johanandren marked this pull request as ready for review September 7, 2021 09:37
@johanandren
Copy link
Contributor Author

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);
Copy link
Contributor

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.

Copy link
Contributor Author

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
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@johanandren johanandren merged commit 31b7ac1 into sdk-codegen-dev Sep 7, 2021
@johanandren johanandren deleted the wip-java-eventing-codegen branch September 7, 2021 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants