Skip to content

Commit 120095c

Browse files
committed
Annotate Directives
1 parent 7427f64 commit 120095c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/main/java/graphql/Directives.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import graphql.language.DirectiveDefinition;
77
import graphql.language.StringValue;
88
import graphql.schema.GraphQLDirective;
9+
import org.jspecify.annotations.NullMarked;
910

1011
import java.util.concurrent.atomic.AtomicBoolean;
1112

@@ -34,6 +35,7 @@
3435
* The directives that are understood by graphql-java
3536
*/
3637
@PublicApi
38+
@NullMarked
3739
public class Directives {
3840

3941
private static final String DEPRECATED = "deprecated";

‎src/test/groovy/graphql/archunit/JSpecifyAnnotationsCheck.groovy‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class JSpecifyAnnotationsCheck extends Specification {
1212

1313
private static final Set<String> JSPECIFY_EXEMPTION_LIST = [
1414
"graphql.AssertException",
15-
"graphql.Directives",
1615
"graphql.ErrorClassification",
1716
"graphql.ExceptionWhileDataFetching",
1817
"graphql.ExecutionResult",

0 commit comments

Comments
 (0)