Prior to this commit, the `SelfDescribingDataFetcher` would augment the `DataFetcher` contract and provide more information about the data fetcher itself. This commit adds a new `isBatchLoading` method to indicate whether the current data fetcher is using a `DataLoader` for fetching elements. In Spring for GraphQL, this can typically happen if the method is annotated with `@BatchMapping` or if the `@SchemaMapping` method as a `DataLoader` parameter. This change is required for instrumentation purposes: such data fetchers should not be instrumented as data fetching operations, but instead delegate to the `DataLoaderRegistry` being itself instrumented. Closes gh-1176
Spring for GraphQL

GraphQL support for Spring applications with GraphQL Java.
Code of Conduct
This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
Contributing
All commits must include a Signed-off-by trailer at the end of each commit message to indicate that the contributor agrees to the Developer Certificate of Origin. For additional details, please refer to the blog post Hello DCO, Goodbye CLA: Simplifying Contributions to Spring.
Documentation
This project has reference documentation (published and source), an API reference. There are samples in the 1.0.x branch that will be moved out into a separate repository.
Stay in Touch
Follow @SpringCentral.
Getting Support
Check out the Spring GraphQL tags on Stack Overflow. Commercial support is available too.
License
This project is released under version 2.0 of the Apache License.