Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
1b01d2b
Annotate GraphQLAppliedDirective
dondonz Aug 21, 2025
8684b48
Add GraphQLSchema annotation
dondonz Aug 21, 2025
0cdc8de
Remove exemption
dondonz Aug 21, 2025
30d0abe
Annotate GraphQLType and GraphQLEnumType
dondonz Aug 21, 2025
6ee01b8
Add Nullmarked to GraphQLEnumType
dondonz Aug 21, 2025
a45c613
Annotate GraphQLCodeRegistry
dondonz Aug 21, 2025
70336d5
Annotate GraphQLList
dondonz Aug 21, 2025
29f8363
Annotate PropertyDataFetcher
dondonz Aug 21, 2025
083b2ab
Annotate GraphQLUnionType
dondonz Aug 21, 2025
b4761ef
Tidy up
dondonz Aug 21, 2025
9a78fb3
Annotate GraphQLScalarType
dondonz Aug 21, 2025
7bbfd9c
Annotate GraphQLNamedInputType
dondonz Aug 21, 2025
7427f64
Add ErrorType
dondonz Aug 23, 2025
120095c
Annotate Directives
dondonz Aug 23, 2025
012f49c
Annotate ErrorClassification
dondonz Aug 23, 2025
afdd408
Annotate ExceptionWhileDataFetching
dondonz Aug 23, 2025
803c924
Annotate ExecutionResult
dondonz Aug 27, 2025
a322ed0
Annotate GraphQLContext
dondonz Aug 27, 2025
41320d4
Annotate AssertException and GraphQLError
dondonz Aug 28, 2025
9765c21
Annotate GraphQLErrorBuilder
dondonz Aug 28, 2025
0ee713c
Annotate GraphQLErrorException
dondonz Aug 28, 2025
e54fca2
Annotate ParseAndValidate
dondonz Aug 28, 2025
603c00d
Annotate ParseAndValidateResult
dondonz Aug 28, 2025
9fcaea1
Annotate Scalars
dondonz Aug 28, 2025
88b02f3
Annotate SerializationError
dondonz Aug 28, 2025
e65217c
Update GraphQLError with a nullable location list
dondonz Aug 28, 2025
19000a5
Annotate TypeMismatchError
dondonz Aug 28, 2025
313bf4f
Annotate UnresolvedTypeError
dondonz Aug 28, 2025
0846c55
Remove agent as no longer exists
dondonz Aug 30, 2025
d2d87cd
Add JSpecify prompt
dondonz Aug 30, 2025
f4b05bb
Fix NullAway issues with assertions
dondonz Aug 30, 2025
ab1ce8d
Remove null checks
dondonz Aug 30, 2025
241b7a0
Annotate DefaultConnection
dondonz Aug 30, 2025
7ffd1ba
Annotate Relay Connection
dondonz Aug 30, 2025
003958f
Update URL
dondonz Aug 30, 2025
ba3de3e
Annotate DefaultConnectionCursor
dondonz Aug 30, 2025
8de5a75
Annotate ConnectionCursor
dondonz Aug 30, 2025
0bee1f8
Annotate DefaultEdge
dondonz Aug 30, 2025
a6e7382
Annotate DefaultPageInfo
dondonz Aug 30, 2025
e508453
Annotate Edge
dondonz Aug 30, 2025
ee76574
Annotate PageInfo
dondonz Aug 30, 2025
b7a7be6
Annotate SimpleListConnection
dondonz Aug 30, 2025
81beb0d
Annotate Relay
dondonz Aug 30, 2025
9c5e4c8
Annotate ValidationErrorClassification and ValidationErrorType
dondonz Aug 30, 2025
6ec7d82
Annotate ValidationError
dondonz Aug 30, 2025
98ff640
Annotate NamedNode
dondonz Aug 30, 2025
3f58265
Annotate Argument
dondonz Aug 30, 2025
eb98025
Annotate GraphQLTypeUtil
dondonz Aug 30, 2025
97b407d
Fix typo
dondonz Aug 30, 2025
44253f7
Update prompt
dondonz Aug 30, 2025
e8b1670
Annotate Breadcrumb
dondonz Aug 30, 2025
f1b5529
Annotate FieldComplexityCalculator
dondonz Aug 30, 2025
230b757
Annotate FieldComplexityEnvironment
dondonz Aug 30, 2025
ff81ff6
Annotate TypeResolutionEnvironment
dondonz Aug 30, 2025
ed2961f
Annotate MaxQueryComplexityInstrumentation
dondonz Aug 30, 2025
cf724bf
Annotate MaxQueryDepthInstrumentation
dondonz Aug 30, 2025
8a47304
Make ValidationError description nullable as message is nullable
dondonz Aug 31, 2025
de6ad66
Add Nullmarked
dondonz Aug 31, 2025
fd3b4af
Revert to nullable description and type for ValidationError
dondonz Aug 31, 2025
71ef680
Update test for Argument, and make nonnullable field clearer
dondonz Aug 31, 2025
23afaea
Annotate Anonymizer
dondonz Sep 1, 2025
bd2bd8d
Merge branch 'master' into infer-nullity-3
dondonz Dec 4, 2025
09a5236
Use string literal optimisation for assert
dondonz Dec 4, 2025
d1e2e54
Tidy up
dondonz Dec 4, 2025
95e7dc9
Make path length not nullable
dondonz Dec 4, 2025
f8920d8
Use string literal for assert messages
dondonz Dec 4, 2025
c78124c
Change GraphQL error message to be non-nullable
dondonz Dec 7, 2025
5b7104e
Improve prompt
dondonz Dec 7, 2025
de00e30
Add clarification on generics type arguments
dondonz Jan 23, 2026
e27bf54
Merge branch 'master' into infer-nullity-3
dondonz Jan 23, 2026
d5de341
Make TypeResolutionEnvironment value nullable
dondonz Jan 23, 2026
0496a3d
Annotate TypeResolutionParameters
dondonz Jan 23, 2026
d2983da
Add Nullmarked to TypeResolutionParameters
dondonz Jan 23, 2026
92b3ac1
Add prompt to reduce whitespace diff
dondonz Jan 23, 2026
0bf48d3
Prompt updates
dondonz Jan 26, 2026
2931540
Adjulst description of validation error to be nonnull
dondonz Jan 26, 2026
66f3fa0
Adjust tests to be compliant with non-nullable description
dondonz Jan 26, 2026
cd232df
Update error message
dondonz Jan 26, 2026
b8b8a5a
Update tests given classiciation is not nullable
dondonz Jan 26, 2026
91f0f5c
Correctly set local context and context to nullable
dondonz Jan 26, 2026
4a05a72
Add mocks for i18n to accommodate non-nullable validation errors
dondonz Jan 26, 2026
b00dafe
Add another i18n mock
dondonz Jan 26, 2026
85e9854
Merge branch 'master' into infer-nullity-3
dondonz Feb 8, 2026
0a4d5d0
Add more nullable annotations
dondonz Feb 8, 2026
d83f175
Add assert
dondonz Feb 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Annotate GraphQLNamedInputType
  • Loading branch information
dondonz committed Aug 21, 2025
commit 7bbfd9c62f2ae3fcfa5b6495906c2015c969a9f2
2 changes: 2 additions & 0 deletions src/main/java/graphql/schema/GraphQLNamedInputType.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@


import graphql.PublicApi;
import org.jspecify.annotations.NullMarked;

/**
* Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed
* to {@link GraphQLOutputType}s which can only be used as graphql response output.
*/
@PublicApi
@NullMarked
public interface GraphQLNamedInputType extends GraphQLInputType, GraphQLNamedType {
}
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ class JSpecifyAnnotationsCheck extends Specification {
"graphql.schema.GraphQLInputValueDefinition",
"graphql.schema.GraphQLInterfaceType",
"graphql.schema.GraphQLModifiedType",
"graphql.schema.GraphQLNamedInputType",
"graphql.schema.GraphQLNamedOutputType",
"graphql.schema.GraphQLNamedSchemaElement",
"graphql.schema.GraphQLNamedType",
Expand Down