2727
2828import static graphql .Assert .assertNotNull ;
2929
30+ @ PublicApi
3031public class GraphQL {
3132
3233 private static final Logger log = LoggerFactory .getLogger (GraphQL .class );
@@ -48,6 +49,7 @@ public class GraphQL {
4849 *
4950 * @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
5051 */
52+ @ Internal
5153 public GraphQL (GraphQLSchema graphQLSchema ) {
5254 //noinspection deprecation
5355 this (graphQLSchema , null , null );
@@ -61,6 +63,7 @@ public GraphQL(GraphQLSchema graphQLSchema) {
6163 *
6264 * @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
6365 */
66+ @ Internal
6467 public GraphQL (GraphQLSchema graphQLSchema , ExecutionStrategy queryStrategy ) {
6568 //noinspection deprecation
6669 this (graphQLSchema , queryStrategy , null );
@@ -75,6 +78,7 @@ public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy) {
7578 *
7679 * @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
7780 */
81+ @ Internal
7882 public GraphQL (GraphQLSchema graphQLSchema , ExecutionStrategy queryStrategy , ExecutionStrategy mutationStrategy ) {
7983 this (graphQLSchema , queryStrategy , mutationStrategy , null , DEFAULT_EXECUTION_ID_PROVIDER , NoOpInstrumentation .INSTANCE );
8084 }
@@ -89,6 +93,7 @@ public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy, Exe
8993 *
9094 * @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
9195 */
96+ @ Internal
9297 public GraphQL (GraphQLSchema graphQLSchema , ExecutionStrategy queryStrategy , ExecutionStrategy mutationStrategy , ExecutionStrategy subscriptionStrategy ) {
9398 this (graphQLSchema , queryStrategy , mutationStrategy , subscriptionStrategy , DEFAULT_EXECUTION_ID_PROVIDER , NoOpInstrumentation .INSTANCE );
9499 }
@@ -114,6 +119,7 @@ public static Builder newGraphQL(GraphQLSchema graphQLSchema) {
114119 }
115120
116121
122+ @ PublicApi
117123 public static class Builder {
118124 private GraphQLSchema graphQLSchema ;
119125 private ExecutionStrategy queryExecutionStrategy = new SimpleExecutionStrategy ();
0 commit comments