File tree Expand file tree Collapse file tree
main/java/graphql/schema/visibility
test/groovy/graphql/introspection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ plugins {
1717java {
1818 toolchain {
1919 languageVersion = JavaLanguageVersion . of(8 )
20+ vendor = JvmVendorSpec . AMAZON
2021 }
2122}
2223
Original file line number Diff line number Diff line change 1717 * can be used instead
1818 */
1919@ PublicApi
20- @ Deprecated ( since = " 2024-03-16" )
20+ @ Deprecated // Deprecated since 2024-03-16
2121public class NoIntrospectionGraphqlFieldVisibility implements GraphqlFieldVisibility {
2222
23- @ Deprecated ( since = " 2024-03-16" )
23+ @ Deprecated // Deprecated since 2024-03-16
2424 public static NoIntrospectionGraphqlFieldVisibility NO_INTROSPECTION_FIELD_VISIBILITY = new NoIntrospectionGraphqlFieldVisibility ();
2525
2626
Original file line number Diff line number Diff line change @@ -694,15 +694,15 @@ class IntrospectionTest extends Specification {
694694
695695 when :
696696 ei = ExecutionInput . newExecutionInput(IntrospectionQuery . INTROSPECTION_QUERY )
697- .graphQLContext(Map . of( Introspection . INTROSPECTION_DISABLED , false ) ). build()
697+ .graphQLContext([ " INTROSPECTION_DISABLED" : false ] ). build()
698698 er = graphQL. execute(ei)
699699
700700 then :
701701 er. errors. isEmpty()
702702
703703 when :
704704 ei = ExecutionInput . newExecutionInput(IntrospectionQuery . INTROSPECTION_QUERY )
705- .graphQLContext(Map . of( Introspection . INTROSPECTION_DISABLED , true ) ). build()
705+ .graphQLContext([ " INTROSPECTION_DISABLED" : true ] ). build()
706706 er = graphQL. execute(ei)
707707
708708 then :
You can’t perform that action at this time.
0 commit comments