Skip to content

chore(codegen): always choose between Java- and Scala testdata#481

Merged
octonato merged 1 commit intolightbend:mainfrom
raboof:testdata-variants
Sep 23, 2021
Merged

chore(codegen): always choose between Java- and Scala testdata#481
octonato merged 1 commit intolightbend:mainfrom
raboof:testdata-variants

Conversation

@raboof
Copy link
Copy Markdown
Contributor

@raboof raboof commented Sep 23, 2021

No description provided.

Copy link
Copy Markdown
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great to make these cleanups now, before we duplicate to event sourced and replicated entities

Copy link
Copy Markdown
Member

@octonato octonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

|
| override final def additionalDescriptors: immutable.Seq[Descriptors.FileDescriptor] =
| ${service.fqn.parent.name}Proto.javaDescriptor ::
| ${typeName(service.descriptorObject)}.javaDescriptor ::
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I just fixed this and is merged already.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might be thinking of #475 (comment) , which seems to be failing that PR and motivated me to do this cleanup :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, thanks. I will rebase #475

@octonato
Copy link
Copy Markdown
Member

If I didn't say it before, here it is. I find that the codegen is getting neater each day. I like the introduction of the methods generateManaged, generateUnmanaged and generateManagedTest. Also the fact that we are improving the model and not copying past or doing too many low level data manipulations all over the place.

@octonato octonato merged commit cc4a528 into lightbend:main Sep 23, 2021
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.

3 participants