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

Allow nested classes to have the same name as their parents in kotlin #1893

Merged

Conversation

EricKuck
Copy link
Contributor

@EricKuck EricKuck commented Jan 9, 2020

As discussed in #1888, it makes sense to allow nested class with the same name as their parent class in Kotlin. This makes generated classes slightly nicer and should be merged in for 1.3.0 (see checklist in #1889).

Note: This PR does not alter how Java code is generated, as nested classes can not have the same name as their parents in Java.

Copy link
Contributor

@martinbonnin martinbonnin left a comment

Choose a reason for hiding this comment

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

Nice!

@sav007 sav007 merged commit 1616cf8 into apollographql:master Jan 12, 2020
tasomaniac pushed a commit that referenced this pull request Jan 13, 2020
@martinbonnin martinbonnin mentioned this pull request Jan 13, 2020
8 tasks
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