0fa2c4f104473f6ce3f4744963e213d6917838ed
Prior to this commit, the `GraphQlObservationInstrumentation` would always assume that local context instances are of type `GraphQLContext`. This means that a custom context type would be overwritten with a `GraphQLContext` that contains the current observation. Instead, this commit ensures that a local context is contributed only if none was present, or that we wrap the existing one only if it is a `GraphQLContext` in the first place. If the parent data fetcher contributes a custom context, the current observation will not be added. Fixes gh-918
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.
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.
Continuous Integration Builds
Information regarding CI builds can be found in the project's Concourse pipeline documentation.
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.
Description
Languages
Java
97.9%
CSS
1.2%
Shell
0.7%
HTML
0.2%