File tree Expand file tree Collapse file tree
src/main/java/graphql/schema/visibility Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 * This field visibility will prevent Introspection queries from being performed. Technically this puts your
1313 * system in contravention of <a href="https://spec.graphql.org/October2021/#sec-Introspection">the specification</a>
1414 * but some production systems want this lock down in place.
15+ *
16+ * @deprecated This is no longer the best way to prevent Introspection - {@link graphql.introspection.Introspection#enabledJvmWide(boolean)}
17+ * can be used instead
1518 */
1619@ PublicApi
20+ @ Deprecated (since = "2024-03-16" )
1721public class NoIntrospectionGraphqlFieldVisibility implements GraphqlFieldVisibility {
1822
23+ @ Deprecated (since = "2024-03-16" )
1924 public static NoIntrospectionGraphqlFieldVisibility NO_INTROSPECTION_FIELD_VISIBILITY = new NoIntrospectionGraphqlFieldVisibility ();
2025
2126
You can’t perform that action at this time.
0 commit comments