Bump io.github.deweyjose:graphqlcodegen-maven-plugin from 2.0.0 to 3.5.0
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(about 1 year ago)
(about 1 year ago)
(about 1 year ago)
by ToQuery
dependencies java
Bumps io.github.deweyjose:graphqlcodegen-maven-plugin from 2.0.0 to 3.5.0.
Release notes
Sourced from io.github.deweyjose:graphqlcodegen-maven-plugin's releases.
graphqlcodegen-maven-plugin-3.5.0
What's Changed
- Bump org.jetbrains.kotlin:kotlin-reflect from 1.9.23 to 2.1.21 by
@dependabotin deweyjose/graphqlcodegen#229- Bump org.mockito:mockito-core from 5.2.0 to 5.18.0 by
@dependabotin deweyjose/graphqlcodegen#249- Bump org.apache.maven:maven-plugin-api from 3.9.9 to 3.9.10 by
@dependabotin deweyjose/graphqlcodegen#250- Bump com.graphql-java:graphql-java from 24.0 to 24.1 by
@dependabotin deweyjose/graphqlcodegen#251Full Changelog: https://github.com/deweyjose/graphqlcodegen/compare/graphqlcodegen-maven-plugin-3.4.0...graphqlcodegen-maven-plugin-3.5.0
Version 3.5.0 introduces schema transformation for DGS Client compatibility
This release adds automatic transformation of custom root type names to standard GraphQL types, solving compatibility issues when working with remote GraphQL servers that use non-standard root type names.
The Problem
Many GraphQL servers use custom root type names like
CustomQuery,CustomMutation, orCustomSubscriptioninstead of the standardQuery,Mutation, andSubscription. While this works fine for server-side operations, DGS Client codegen expects standard root type names and fails to generate client code for these schemas.The Solution
The plugin now automatically transforms custom root types to their standard equivalents during code generation:
# Remote server schema (custom root types) schema { query: CustomQuery mutation: CustomMutation subscription: CustomSubscription }type CustomQuery {
hello: String
}Generated client code (standard root types)
type Query {
hello: String
}
Key Benefits
- Seamless DGS Client integration - Generate working client code from any GraphQL schema
- No server changes required - Works with existing remote servers that use custom root types
- Transparent transformation - The GraphQL operations sent over the wire maintain the expected shape for the server
- Backward compatible - Existing schemas with standard root types continue to work unchanged
When to Use
This feature is primarily useful for client-side code generation when connecting to remote GraphQL servers that use custom root type names. The transformation ensures DGS Client can generate compatible code while preserving the original schema structure for server communication.
graphqlcodegen-maven-plugin-3.4.0
What's Changed
- feat: add support for local type mapping properties files by
@deweyjosein deweyjose/graphqlcodegen#252
... (truncated)
Commits
56749bcbump version7cb7dd1Update coverage badge273aea3feat: transform schema (#253)1908e26Bump com.graphql-java:graphql-java from 24.0 to 24.1 (#251)e6136c0Bump org.apache.maven:maven-plugin-api from 3.9.9 to 3.9.10 (#250)6f8b565Bump org.mockito:mockito-core from 5.2.0 to 5.18.0 (#249)59fa5e6Bump org.jetbrains.kotlin:kotlin-reflect from 1.9.23 to 2.1.21 (#229)df0152areadme instructions for localTypeMappingPropertiesFilesb7421b9docs: add documentation for localTypeMappingPropertiesFiles8989fceUpdate coverage badge- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
maven
2.0.0 → 3.5.0
Major
Technical Details
| ID: | 2023054 |
| UUID: | 2610400308 |
| Node ID: | PR_kwDOK1Mht86bl4w0 |
| Host: | GitHub |
| Repository: | ToQuery/example-spring-graphql |
| Merge State: | Unknown |