-
-
Notifications
You must be signed in to change notification settings - Fork 114
Add ability to generate particular types as Java interfaces #610
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
Conversation
|
@kobylynskyi please check, only one task is failed is sonar task: https://github.com/kobylynskyi/graphql-java-codegen/runs/2186852139 But it looks like it's CI configuration issue, not something related to my changes in this PR. |
|
Yes, Sonar fails for all PRs from forked repos. 🥴 |
kobylynskyi
left a comment
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.
@donbeave good job! Just one minor comment related to the codegen-options.md.
Once it is done - I am going to merge this to develop branch and release as part of 4.1.6.
Thanks again for the contribution! Much appreciate it.
* Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. (cherry picked from commit 994f6fe)
…le/graphql-java-codegen-gradle-plugin (#616) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump com.gradle.plugin-publish Bumps com.gradle.plugin-publish from 0.13.0 to 0.14.0. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…617) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/maven/example-client Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#620) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/gradle/example-client Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#619) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/gradle/example-server Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…618) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/maven/example-server Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…625) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/maven/example-server Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#624) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/gradle/example-client Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. (cherry picked from commit 994f6fe)
…le/graphql-java-codegen-gradle-plugin (#616) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump com.gradle.plugin-publish Bumps com.gradle.plugin-publish from 0.13.0 to 0.14.0. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…617) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/maven/example-client Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#620) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/gradle/example-client Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#619) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/gradle/example-server Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…618) * Add ability to generate particular types as Java interfaces #606 (#610) * Gradle 6.8.3. * Added typesAsInterfaces config option. * Updated doc. * Basic implementation for generating type as interface. * Tests for generating type as interface. * Code style fixes. * Code style fixes. * Java 1.8 build fixes. * Code style fixes. * Code style fixes. * Attempt to fix compilation. * Code review fixes. * Revert "Add ability to generate particular types as Java interfaces #606 (#610)" (#613) This reverts commit 994f6fe. * Bump lombok from 1.18.18 to 1.18.20 in /plugins/maven/example-server Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.18 to 1.18.20. - [Release notes](https://github.com/rzwitserloot/lombok/releases) - [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.18...v1.18.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alexey Zhokhov <[email protected]> Co-authored-by: Bogdan Kobylynskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Implementation for this issue: #606