9fee07989d546ac17c9ed0d30af90f7751c7fd40
Prior to this commit, the `ConnectionFieldTypeVisitor` would return `TraversalControl.ABORT` when a field with a parent Subscription type is encountered. This is done because this visitor should not consider fields under Subscription types as they are not candidates for pagination. This would also completely abort the visiting of all fields under Subscription types, for all other visitors. As a result, this prevents the decoration of data fetchers by the `ContextTypeVisitor` and leads to missing context information (security or observability). This only applies to 21.x GraphQL Java versions, as a bug was hiding this behavior in previous versions. This commit ensures that the `ConnectionFieldTypeVisitor` ignores fields located under Subscription operations but always return `TraversalControl.CONTINUE` to not completely ignore this part of the schema. Fixes gh-861
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%