Skip to content

Commit

Permalink
Merge pull request #190 from Netflix/update-docs
Browse files Browse the repository at this point in the history
Update docs to remove reference to DgsWebMvcAutoconfiguration since we don't need it with spring-graphql
  • Loading branch information
srinivasankavitha authored Sep 6, 2024
2 parents 8c31bc0 + 65ac2f1 commit 3b3f357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/query-execution-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ For a small application this is fine, but for applications with components that
In this case we need to include the DGS framework itself using the `DgsAutoConfiguration` class, and the `ShowsDatafetcher`.

!!!info "Testing data fetchers that use WebMVC annotations such as @RequestHeader"
If you are using features specific to WebMvc stack, such as `@RequestHeader`, you will also need to specify `DgsWebMvcAutoConfiguration` in the list of classes.
If you are using features specific to WebMvc stack, such as `@RequestHeader`, you will also need to ensure you have the required web dependencies for test.

To execute queries, inject `DgsQueryExecutor` in the test.
This interface has several methods to execute a query and get back the result.
Expand Down

0 comments on commit 3b3f357

Please sign in to comment.