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

Bump com.graphql-java-generator:graphql-java-client-runtime from 2.7 to 2.8 #9217

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2024

Bumps com.graphql-java-generator:graphql-java-client-runtime from 2.7 to 2.8.

Changelog

Sourced from com.graphql-java-generator:graphql-java-client-runtime's changelog.

  • 2.8
    • [server mode] When the generateDataLoaderForLists plugin parameter is set to true, the plugin no more generates two methods per field (for field that return lists)
      • Two methods in DataFetchersDelegateXxx: one with the DataLoader parameter, that is used by the controller, and one without the DataLoader parameter, that is not used. The useless method is no more generated. This may result in compilation error, if the @Override method was added: you would then have to remove the implementation for this useless method.

2.8

Server mode:

  • The new generateBatchMappingDataFetchers plugin parameters is in beta version in this release. It allows to generate data fetchers with the @​BatchMapping annotation (instead of the @SchemaMapping one). This allows to manage the N+1 select problem: so this allows much better performances, by highly diminishing the number of executed requests
    • The new batchMappingDataFetcherReturnType allows to control the return type of these data fetchers
    • Please note that the behaviour for this parameter may change a little for GraphQL schema that use field parameters.
    • For GraphQL schemas that don't use field parameters, its behaviour can be considered as stable
  • Issues #214 and #215: the new ignoredSpringMappings plugin parameter allows to ignore a list of type and field mappings (or all mappings, when this parameter is set to the star character, "*").
    • An ignored type mapping prevent the generation of its DataFetcherDelegate, and its entity Spring Controller. The Spring Controller must be 'manually' implemented.
    • An ignored field mapping prevent the generation of the method for this field in the DataFetcherDelegate, and its entity Spring Controller. A Spring Controller must be 'manually' implemented for this field.
  • Issue #217: compilation error when a field first letter is in uppercase.

Internal API:

  • The DataFetcher.completableFuture has been renamed to DataFetcher.withDataLoader. This impacts these templates: object_content.vm.java, server_EntityController.vm.java and server_GraphQLDataFetchersDelegate.vm.java
Commits
  • 2ab9b7d [maven-release-plugin] prepare release graphql-maven-plugin-project-2.8
  • 1ffabd1 Ready for release 2.8
  • d5ec7c2 Added test to read the batchMappingDataFetcherReturnType plugin param
  • 14f84d9 Log information about plugin params updated
  • 3834c5e Added the generateBatchMappingDataFetchers plugin parameter
  • 4e5cfb5 [WIP] Add of the generateBatchMappingDataFetchers
  • d9529e2 Stop generating useless methods when generateDataLoaderForLists is true
  • 890456b Simplified the spring autoconfiguration package for the generated code
  • 9ccc46a Removed to unused interfaces
  • 36bfbb3 Issue #216: DataFetchersDelegate now return Object
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.graphql-java-generator:graphql-java-client-runtime](https://github.com/graphql-java-generator/graphql-java-generator) from 2.7 to 2.8.
- [Changelog](https://github.com/graphql-java-generator/graphql-maven-plugin-project/blob/master_2.x/CHANGELOG.md)
- [Commits](graphql-java-generator/graphql-maven-plugin-project@graphql-maven-plugin-project-2.7...graphql-maven-plugin-project-2.8)

---
updated-dependencies:
- dependency-name: com.graphql-java-generator:graphql-java-client-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Type: Pull requests that update a dependency file java Pull requests that update Java code labels Sep 2, 2024
@steven-sheehy steven-sheehy added this to the 0.113.0 milestone Sep 2, 2024
@steven-sheehy steven-sheehy merged commit 4e158c7 into main Sep 2, 2024
32 checks passed
@steven-sheehy steven-sheehy deleted the dependabot/gradle/com.graphql-java-generator-graphql-java-client-runtime-2.8 branch September 2, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Type: Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant