Skip to content

Bump graphql-dgs-platform-dependencies from latest.release to 4.9.2#35

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-4.9.2
Closed

Bump graphql-dgs-platform-dependencies from latest.release to 4.9.2#35
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-4.9.2

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 18, 2021

Bumps graphql-dgs-platform-dependencies from latest.release to 4.9.2.

Release notes

Sourced from graphql-dgs-platform-dependencies's releases.

v4.9.2

What’s Changed

  • Introduce a CONFLICT error detail catered for mutations. (#696) @​berngp
  • Moving the private JacksonObjectMapper into companion object to establish compatibility with CGLIB proxying (#694) @​mwftapi

v4.9.1

What’s Changed

4.9.0

What’s Changed

Highlights

  • Upgrade to graphql-java:17.3, which has many improvements.
  • A WebClient based GraphQL client implementation.
  • Refactored existing GraphQL client implementation for better ergonomics.

Full list of changes

Migrating to the new GraphQLClient

In this release we deprecated the DefaultGraphQLClient class and the existing executeQuery methods on the GraphQLClient and MonoGraphQLClient interfaces. The deprecated methods required a RequestExecutor to be passed in that takes care of the actual HTTP request. Requiring a RequestExecutor makes it possible to plug-in any HTTP client, but requires quite a bit of plumbing.

The deprecated class/methods are replaced by the following:

  • A brand new WebClientGraphQLClient. If you don't have a strong opinion about what HTTP client to use, this is the easiest way to use the client. The user just provides a WebClient instance, and the framework takes care of the rest. This should be the preferred method for most users!
  • If you do have a strong opinion about what HTTP client to use, you can continue to use the RequestExecutor approach using the new CustomGraphQLClient or CustomMonoGraphQLClient classes. The RequestExecutor is now defined as a constructor argument instead of at each execute* method for better ergonomics. You can use your existing RequestExecutor implementation however!

Below are two examples of how to migrate an existing usage of DefaultGraphQLClient to either of the new approaches.

A DefaultGraphQLClient that we'll migrate.

RestTemplate restTemplate = new RestTemplate();
String url = "http://localhost:8080/graphql";
DefaultGraphQLClient client = new DefaultGraphQLClient(url);
RequestExecutor requestExecutor = (url, headers, body) -> {
HttpHeaders httpHeaders = new HttpHeaders();
headers.forEach(httpHeaders::addAll);
</tr></table>

... (truncated)

Commits

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 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 [graphql-dgs-platform-dependencies](https://github.com/Netflix/dgs-framework) from latest.release to 4.9.2.
- [Release notes](https://github.com/Netflix/dgs-framework/releases)
- [Commits](https://github.com/Netflix/dgs-framework/commits/v4.9.2)

---
updated-dependencies:
- dependency-name: com.netflix.graphql.dgs:graphql-dgs-platform-dependencies
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 18, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 3, 2021

Superseded by #39.

@dependabot dependabot bot closed this Nov 3, 2021
@dependabot dependabot bot deleted the dependabot/gradle/com.netflix.graphql.dgs-graphql-dgs-platform-dependencies-4.9.2 branch November 3, 2021 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies 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.

0 participants