Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
548 commits
Select commit Hold shift + click to select a range
19a2f21
Fold the custom scalar input tests and use the scalars only in Map in…
oryan-block Oct 17, 2026
446416b
Name the shared dictionary class in its test
oryan-block Oct 17, 2026
f47bd7a
Test the sealed subclass deduplication and name the matches as matches
oryan-block Oct 17, 2026
2e8d3e5
Throw at build when the proxy would call another overload of the reso…
oryan-block Oct 17, 2026
44e3932
Make the interface method matching easier to read
oryan-block Oct 17, 2026
a17693b
Ignore extensions of a different kind than their type with a warning
oryan-block Oct 17, 2026
11d07d2
Share the implements merge and give the extension tests their own Col…
oryan-block Oct 17, 2026
2095a2f
Only remember non-converting classes within one conversion
oryan-block Oct 17, 2026
a151a5e
Merge pull request #851 from graphql-java-kickstart/bugfix/465
oryan-block Oct 17, 2026
1f1d6a5
Merge branch 'master' into bugfix/200
oryan-block Oct 17, 2026
a653953
Merge pull request #854 from graphql-java-kickstart/bugfix/200
oryan-block Oct 17, 2026
a1a5f0f
Merge remote-tracking branch 'origin/master' into bugfix/552
oryan-block Oct 17, 2026
941988a
Find sealed subclasses for union members and implementors added by ex…
oryan-block Oct 17, 2026
3606993
Merge branch 'master' into bugfix/436
oryan-block Oct 17, 2026
0140de6
Merge pull request #856 from graphql-java-kickstart/bugfix/436
oryan-block Oct 17, 2026
5f411c7
Merge branch 'master' into bugfix/552
oryan-block Oct 17, 2026
fe5859a
Warn when a type repeats an enum value, interface field or union member
oryan-block Oct 17, 2026
bc04599
Read a type and its extensions through one withExtensions util
oryan-block Oct 17, 2026
2241889
Shorten the comments on lone extensions and repeated declarations
oryan-block Oct 17, 2026
7d1edcc
Merge pull request #855 from graphql-java-kickstart/bugfix/552
oryan-block Oct 17, 2026
e1c055a
Merge branch 'master' into bugfix/822
oryan-block Oct 17, 2026
76b6739
Warn at build instead of calling JDK proxied resolver methods through…
oryan-block Oct 18, 2026
191029a
Suggest a getter in the warning for a field the JDK proxy can't read
oryan-block Oct 18, 2026
77bfb83
Merge pull request #853 from graphql-java-kickstart/bugfix/822
oryan-block Oct 18, 2026
43c1e50
Check input object classes against the schema with Jackson
oryan-block Oct 12, 2026
1450ee6
Skip polymorphic elements in the unmapped input field check
oryan-block Oct 12, 2026
f8821a1
Apply an Optional property's annotations in the unmapped input field …
oryan-block Oct 18, 2026
49592d7
Compile the Java tests on the class path so they build on Java 11
oryan-block Oct 18, 2026
65d8152
Explain why the Java tests compile on the class path
oryan-block Oct 18, 2026
ae7449e
Drop unmapped input field test cases that repeat another case
oryan-block Oct 18, 2026
af2df65
Check the input classes in one pass after the objects are built
oryan-block Oct 18, 2026
e7f8e2c
Remove the scanner's log for input fields without a property
oryan-block Oct 18, 2026
d0147a7
Cut comments that repeat the code or explain its history
oryan-block Oct 18, 2026
b8a33b6
Merge pull request #857 from graphql-java-kickstart/bugfix/422
oryan-block Oct 18, 2026
973a96f
Merge branch 'master' into cleanup/422-comments
oryan-block Oct 18, 2026
5aa2c60
Merge pull request #869 from graphql-java-kickstart/cleanup/422-comments
oryan-block Oct 18, 2026
27ffce9
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-bom to v1.…
renovate[bot] Oct 18, 2026
ccefcba
Merge pull request #860 from graphql-java-kickstart/renovate/kotlin
oryan-block Oct 18, 2026
18182ad
Use graphql-java's TypeUtil to unwrap and print SDL types
oryan-block Oct 18, 2026
4dcc656
Take the release version as a workflow input and run the checks on th…
oryan-block Oct 18, 2026
8f7575d
Merge pull request #871 from graphql-java-kickstart/cleanup/type-util
oryan-block Oct 18, 2026
e57c8b8
Update all non-major dependencies
renovate[bot] Oct 18, 2026
f6cd91e
Merge branch 'master' into build/release-automation
oryan-block Oct 18, 2026
7f7475c
Merge pull request #848 from graphql-java-kickstart/renovate/all-mino…
oryan-block Oct 18, 2026
1f4c025
Merge branch 'master' into build/release-automation
oryan-block Oct 18, 2026
5c5897f
Merge pull request #872 from graphql-java-kickstart/build/release-aut…
oryan-block Oct 18, 2026
b2741a1
Update version for release
actions-user Oct 18, 2026
8d1a2ce
Update version for release
actions-user Oct 18, 2026
6c66081
Merge pull request #873 from graphql-java-kickstart/version-release
oryan-block Oct 18, 2026
62350f4
Remove the Maven 3.9 pin from the release workflow
oryan-block Oct 18, 2026
c00075e
Merge pull request #874 from graphql-java-kickstart/chore/870-drop-ma…
oryan-block Oct 18, 2026
3f95d53
Run the Version Release PR checks through GitHub's workflow approval
oryan-block Oct 18, 2026
e588b49
Keep the Version Release PR body as it was
oryan-block Oct 18, 2026
09ab76c
Merge remote-tracking branch 'origin/master' into build/version-relea…
oryan-block Oct 18, 2026
c823ef1
Test the warnings for tolerated schema problems through a shared log-…
oryan-block Oct 18, 2026
7205867
Merge pull request #877 from graphql-java-kickstart/build/version-rel…
oryan-block Oct 18, 2026
0a4659d
Merge branch 'master' into test/867-log-capture
oryan-block Oct 18, 2026
3dcbbb7
Merge pull request #878 from graphql-java-kickstart/test/867-log-capture
oryan-block Oct 18, 2026
f645a46
Add a test helper that queries every field of a schema
oryan-block Oct 18, 2026
d02913c
Query every field of the schemas in the input type tests
oryan-block Oct 18, 2026
b7aef36
Query every field of the schemas in the directive and default value t…
oryan-block Oct 18, 2026
5e5e4a7
Report an Error thrown by a resolver against its operation
oryan-block Oct 18, 2026
6f56c8a
Query every field of the schemas in the resolver and type extension t…
oryan-block Oct 18, 2026
a49c66c
Query every field of the schemas in the scanner tests
oryan-block Oct 18, 2026
4f8429b
Query every field of the schemas in SchemaParserTest
oryan-block Oct 18, 2026
f2dcb3d
Query every field of the end-to-end schema and the remaining test sch…
oryan-block Oct 18, 2026
7722fb9
Query every field of the schemas in the Java resolver test
oryan-block Oct 18, 2026
3481eb2
Skip the check where only a placeholder field is left
oryan-block Oct 18, 2026
c574e2e
Fail on subscriptions without an event and stop repeating types throu…
oryan-block Oct 18, 2026
9b443f9
Point the generic exclusion at its issue
oryan-block Oct 18, 2026
3ef90b8
Make assertEveryFieldResolves an extension on the schema
oryan-block Oct 18, 2026
b78416c
Return the schema from assertEveryFieldResolves so it can end the bui…
oryan-block Oct 18, 2026
9a8908a
Merge pull request #879 from graphql-java-kickstart/test/every-field-…
oryan-block Oct 18, 2026
d4f29ec
Resolve type variables in resolver parameter types
oryan-block Oct 19, 2026
d4232ba
Merge pull request #882 from graphql-java-kickstart/bugfix/880
oryan-block Oct 19, 2026
6208907
Resolve type variables in resolver return types
oryan-block Oct 19, 2026
94a98a0
Merge pull request #883 from graphql-java-kickstart/refactor/resolver…
oryan-block Oct 19, 2026
c5ca6d2
Warn about directives applied where their definition doesn't allow them
oryan-block Oct 19, 2026
e83f621
Build unions that are only members of other unions
oryan-block Oct 19, 2026
54b177e
Allow resolver methods to take both the context and the environment
oryan-block Oct 19, 2026
e390d21
Merge pull request #888 from graphql-java-kickstart/feature/context-a…
oryan-block Oct 19, 2026
3cef3c6
Pass the directive location to both builders instead of withDirectivesAt
oryan-block Oct 19, 2026
22a5f8a
Point directive warnings at the source line instead of naming the ele…
oryan-block Oct 19, 2026
9245613
Merge branch 'master' into feature/225-validate-directives
oryan-block Oct 19, 2026
5a73d9a
Merge pull request #885 from graphql-java-kickstart/feature/225-valid…
oryan-block Oct 19, 2026
8021f50
Merge branch 'master' into bugfix/866
oryan-block Oct 19, 2026
ad4ad8a
Merge pull request #887 from graphql-java-kickstart/bugfix/866
oryan-block Oct 19, 2026
5f94793
Warn at build when an argument is bound to a context parameter
oryan-block Oct 19, 2026
57151da
Word the warning around the missing parameter
oryan-block Oct 19, 2026
3386722
Merge pull request #890 from graphql-java-kickstart/feature/418-warn-…
oryan-block Oct 19, 2026
94aff95
Decide which arguments are scalars when building the schema
oryan-block Oct 19, 2026
4bb6428
Check each list level's element type when passing scalar arguments th…
oryan-block Oct 19, 2026
d9d7c42
Cover nested lists of a custom scalar
oryan-block Oct 19, 2026
c024bc3
Merge pull request #891 from graphql-java-kickstart/feature/859-scala…
oryan-block Oct 19, 2026
10d49ae
Resolve union and interface values by the raw class of a parameterize…
oryan-block Oct 19, 2026
c903ff3
Cover a raw class dictionary entry next to a parameterized entry of t…
oryan-block Oct 19, 2026
21f3796
Merge pull request #892 from graphql-java-kickstart/bugfix/parameteri…
oryan-block Oct 19, 2026
51d75b6
Run directive wirings on the assembled schema so they see resolved types
oryan-block Oct 20, 2026
2b94fef
Reference input objects from directive definitions so wired types in …
oryan-block Oct 20, 2026
bed8c8d
Build scalars in SchemaParser so they get their directives
oryan-block Oct 20, 2026
4171fb4
Reference schema types from the fields of wired types so wirings can …
oryan-block Oct 20, 2026
3a1a5f6
Reference unions from the fields of wired types too, since a union ca…
oryan-block Oct 20, 2026
e7b7d46
Wire the types directly instead of transforming the schema, since the…
oryan-block Oct 22, 2026
d47bac5
Merge pull request #895 from graphql-java-kickstart/bugfix/875
oryan-block Oct 22, 2026
cb1deee
Merge master into bugfix/864
oryan-block Oct 22, 2026
69e18bb
Add the directive definitions to the read-only schema
oryan-block Oct 22, 2026
04b6789
Merge pull request #894 from graphql-java-kickstart/bugfix/864
oryan-block Oct 22, 2026
135b841
Determine input types with the same recursion as output types
oryan-block Oct 22, 2026
73eb0e9
Merge remote-tracking branch 'origin/master' into refactor/determine-…
oryan-block Oct 22, 2026
7448f2c
Drop the determineType comment the namedType default now shows
oryan-block Oct 22, 2026
98255d2
Merge pull request #897 from graphql-java-kickstart/refactor/determin…
oryan-block Oct 22, 2026
d0bac4f
Test toReadOnlySchema() with interfaces, unions and schema directives
oryan-block Oct 22, 2026
a4e8563
Build the applied and legacy directives from one resolved list
oryan-block Oct 22, 2026
e058445
Build the read-only schema with the same code registry and schema dir…
oryan-block Oct 22, 2026
65d320c
Merge pull request #898 from graphql-java-kickstart/bugfix/896
oryan-block Oct 22, 2026
3e8742d
Merge remote-tracking branch 'origin/master' into refactor/directive-…
oryan-block Oct 22, 2026
fd35dbf
Merge pull request #899 from graphql-java-kickstart/refactor/directiv…
oryan-block Oct 22, 2026
ee63ab3
Check that object, interface and enum types don't share a class inste…
oryan-block Oct 22, 2026
6b53dba
Add SchemaParserDictionary.toMap and deprecate getDictionary and BiMap
oryan-block Oct 22, 2026
a24067d
Merge pull request #901 from graphql-java-kickstart/refactor/861-plai…
oryan-block Oct 22, 2026
6a6a869
Test unions that list each other or themselves
oryan-block Oct 22, 2026
6076716
Fail with an error naming the cycle when unions contain themselves
oryan-block Oct 22, 2026
c70aaed
Test a union loop that doesn't include the union being built
oryan-block Oct 22, 2026
a4736c9
Merge pull request #902 from graphql-java-kickstart/bugfix/886
oryan-block Oct 22, 2026
cf3ea20
Unwrap generic wrappers and futures nested in lists and other wrappers
oryan-block Oct 22, 2026
f812c12
Return from the wrapper search before it allocates when no wrapper ma…
oryan-block Oct 23, 2026
8144ad6
Decide once whether a resolver method takes the source
oryan-block Oct 23, 2026
c1b74d3
Match resolver methods that leave out the source
oryan-block Oct 23, 2026
77e8f5d
Test that every return type the matcher accepts resolves at runtime
oryan-block Oct 23, 2026
1444ba4
Unwrap generic wrappers under a wildcard's upper bound
oryan-block Oct 23, 2026
37b0bd7
Merge remote-tracking branch 'origin/master' into feature/254-nested-…
oryan-block Oct 23, 2026
84dcb8e
Merge pull request #903 from graphql-java-kickstart/feature/254-neste…
oryan-block Oct 23, 2026
366a978
Merge branch 'master' into feature/304-sourceless-resolvers
oryan-block Oct 23, 2026
3a5512b
Format the schemas and queries in SourcelessResolverTest
oryan-block Oct 23, 2026
e0dc4f4
Inline the schema and query helpers in SourcelessResolverTest
oryan-block Oct 23, 2026
d56121f
Merge pull request #904 from graphql-java-kickstart/feature/304-sourc…
oryan-block Oct 23, 2026
562ed22
Read the scan dictionary's entries through an interface
oryan-block Oct 23, 2026
7522a46
Move the type dictionary out of SchemaClassScanner
oryan-block Oct 23, 2026
c0c5efe
Move the scan references into ScanDictionary
oryan-block Oct 23, 2026
661fb59
Move sealed subclass matching out of SchemaClassScanner
oryan-block Oct 23, 2026
2975b20
Move SourceLocation.describe() to util/Utils.kt
oryan-block Oct 23, 2026
cb662e5
Move the unexpected-type error messages out of SchemaParser
oryan-block Oct 23, 2026
3488a31
Move the SDL directive code out of SchemaParser
oryan-block Oct 23, 2026
08b9be7
Merge pull request #906 from graphql-java-kickstart/refactor/split-sc…
oryan-block Oct 23, 2026
0c4e0a4
Update version for release
actions-user Oct 23, 2026
2c93c08
Update version for release
actions-user Oct 23, 2026
5af66a5
Merge pull request #907 from graphql-java-kickstart/version-release
oryan-block Oct 23, 2026
91437c2
Remove BiMap and SchemaParserDictionary.getDictionary
oryan-block Oct 23, 2026
9a2af8b
Throw for invalid directives on scalars
oryan-block Oct 23, 2026
c3665d8
Deprecate the introspectionEnabled option
oryan-block Oct 23, 2026
2fb1ce1
Remove the deprecated missingResolverDataFetcher option
oryan-block Oct 23, 2026
c324a06
Throw at build for resolvers that can't be called on their JDK dynami…
oryan-block Oct 23, 2026
063b01a
Throw when a resolver method is missing a parameter for an argument
oryan-block Oct 23, 2026
bd8ae9c
Remove the introspectionEnabled option
oryan-block Oct 23, 2026
a0b56c7
Stop reading the custom context class from the legacy context object
oryan-block Oct 23, 2026
f0bcb31
Explain in the error why a public field needs a getter
oryan-block Oct 23, 2026
810582d
Stop reading the CoroutineScope from the legacy context object
oryan-block Oct 23, 2026
f5b8d2c
Reject invalid applied directives with a SchemaError instead of a war…
oryan-block Oct 23, 2026
58f67cc
Reject enum values, interface fields and union members that a type de…
oryan-block Oct 23, 2026
e858e42
Reject repeated fields of objects and input objects and list input fi…
oryan-block Oct 23, 2026
eede0bf
Fail the field when the custom context class is missing from the Grap…
oryan-block Oct 23, 2026
0dcf7df
Test repeated object and input fields in one definition and between e…
oryan-block Oct 23, 2026
1523460
Replay the matcher's unwrapping in the data fetcher
oryan-block Oct 23, 2026
4e5cf3e
Unwrap nested wrappers for custom scalars too
oryan-block Oct 23, 2026
90b1049
Give every wrapper the schema build matched its own step
oryan-block Oct 23, 2026
15e92ef
Reject nested futures graphql-java can't wait on
oryan-block Oct 23, 2026
a8ce630
Unwrap a nested wrapper with the wrapper its declared type matched
oryan-block Oct 23, 2026
76ba3a9
Let names carry what the new comments said
oryan-block Oct 23, 2026
bf6a9ba
Give a nested future graphql-java can't wait on the outermost value's…
oryan-block Oct 23, 2026
013128f
Check every nested future when the leaf is typed as Object
oryan-block Oct 23, 2026
860495f
Let the leaf class's name say it isn't Object
oryan-block Oct 23, 2026
14321b3
Accept a value that implements Future after a wrapper for an Object leaf
oryan-block Oct 23, 2026
668c6f9
Merge pull request #910 from graphql-java-kickstart/feature/858-depre…
oryan-block Oct 23, 2026
14403f0
Stop building pull requests against graphql-java 25
oryan-block Oct 23, 2026
00874b1
Use graphql-java 26's built-in directive map
oryan-block Oct 23, 2026
381578c
Warn about a field that an object or input type declares twice
oryan-block Oct 23, 2026
1787fda
Merge pull request #920 from graphql-java-kickstart/feature/865-warn-…
oryan-block Oct 23, 2026
2fa99a5
Update version for release
actions-user Oct 23, 2026
2616f45
Update version for release
actions-user Oct 23, 2026
5c647bf
Merge pull request #921 from graphql-java-kickstart/version-release
oryan-block Oct 23, 2026
66d1bbd
Merge remote-tracking branch 'origin/master' into feature/905-replay-…
oryan-block Oct 23, 2026
fc24426
Merge pull request #918 from graphql-java-kickstart/feature/905-repla…
oryan-block Oct 24, 2026
27a7a1d
Merge branch 'master' into feature/900-remove-bimap
oryan-block Oct 24, 2026
a155694
Merge pull request #908 from graphql-java-kickstart/feature/900-remov…
oryan-block Oct 24, 2026
c35b365
Merge branch 'master' into feature/893-reject-scalar-directives
oryan-block Oct 24, 2026
d586879
Merge pull request #909 from graphql-java-kickstart/feature/893-rejec…
oryan-block Oct 24, 2026
28ed408
Merge branch 'master' into feature/889-throw-missing-parameter
oryan-block Oct 24, 2026
69b30a4
Merge branch 'master' into feature/drop-graphql-java-25
oryan-block Oct 24, 2026
9c9ef9e
Merge pull request #919 from graphql-java-kickstart/feature/drop-grap…
oryan-block Oct 24, 2026
cc7dc94
Merge branch 'master' into feature/889-throw-missing-parameter
oryan-block Oct 24, 2026
296ac4b
Merge pull request #911 from graphql-java-kickstart/feature/889-throw…
oryan-block Oct 24, 2026
fa3956f
Merge branch 'master' into feature/868-throw-jdk-proxy
oryan-block Oct 24, 2026
058575a
Merge remote-tracking branch 'origin/master' into feature/863-reject-…
oryan-block Oct 24, 2026
54f5d62
Merge pull request #916 from graphql-java-kickstart/feature/863-rejec…
oryan-block Oct 24, 2026
d106fa1
Merge remote-tracking branch 'origin/master' into feature/858-remove-…
oryan-block Oct 24, 2026
6c7101b
Merge pull request #912 from graphql-java-kickstart/feature/858-remov…
oryan-block Oct 24, 2026
f2cd29c
Merge branch 'master' into feature/868-throw-jdk-proxy
oryan-block Oct 24, 2026
f480042
Merge pull request #913 from graphql-java-kickstart/feature/868-throw…
oryan-block Oct 24, 2026
c7b62db
Merge branch 'master' into feature/846-remove-missing-resolver-data-f…
oryan-block Oct 24, 2026
17c10c5
Merge pull request #915 from graphql-java-kickstart/feature/846-remov…
oryan-block Oct 24, 2026
b96116d
Merge remote-tracking branch 'origin/master' into feature/884-reject-…
oryan-block Oct 24, 2026
8f682de
Merge remote-tracking branch 'origin/master' into feature/884-reject-…
oryan-block Oct 24, 2026
2114b14
Merge pull request #914 from graphql-java-kickstart/feature/884-rejec…
oryan-block Oct 24, 2026
f78d954
Make SchemaObjects.dictionary a Set<GraphQLNamedType>
oryan-block Oct 24, 2026
924409a
Merge branch 'master' into feature/917-named-dictionary
oryan-block Oct 24, 2026
6d43c3d
Merge pull request #922 from graphql-java-kickstart/feature/917-named…
oryan-block Oct 24, 2026
77f91dd
Require Java 17
oryan-block Oct 24, 2026
c54eada
Migrate config renovate.json
renovate[bot] Oct 24, 2026
45cda43
Autoclose the Renovate dashboard and drop stale antlr and logback rules
oryan-block Oct 24, 2026
a35112d
Move to Jackson 3
oryan-block Oct 24, 2026
8c62344
Convert enums to and from Strings by name in the library's ObjectMapper
oryan-block Oct 24, 2026
1298de5
Share the library's ObjectMapper between fields when no configurer is…
oryan-block Oct 24, 2026
b02429a
Remove InvalidSchemaError and the antlr4-runtime dependency
oryan-block Oct 24, 2026
87c725f
Merge pull request #927 from graphql-java-kickstart/feature/remove-an…
oryan-block Oct 24, 2026
d0f68a1
Merge branch 'master' into renovate/migrate-config
oryan-block Oct 24, 2026
23252aa
Merge pull request #924 from graphql-java-kickstart/renovate/migrate-…
oryan-block Oct 24, 2026
d484ba1
Merge branch 'master' into feature/java-17
oryan-block Oct 24, 2026
78af59a
Merge pull request #923 from graphql-java-kickstart/feature/java-17
oryan-block Oct 24, 2026
6b28e10
Merge branch 'master' into feature/810-jackson-3
oryan-block Oct 24, 2026
1281e2e
Merge pull request #925 from graphql-java-kickstart/feature/810-jacks…
oryan-block Oct 24, 2026
2ffcdea
Compile Kotlin before Java with the kotlin-maven-plugin extension
oryan-block Oct 24, 2026
636ddc2
Merge pull request #928 from graphql-java-kickstart/build/881-kotlin-…
oryan-block Oct 24, 2026
7334d01
Declare central.sonatype.com as the central server's repository origin
oryan-block Oct 24, 2026
06ea234
Merge pull request #929 from graphql-java-kickstart/feature/841-repos…
oryan-block Oct 24, 2026
8cf65aa
Make spring.aop an optional module dependency
oryan-block Oct 24, 2026
65f46f6
Build the Spring AOP proxy support against Spring 7
oryan-block Oct 24, 2026
310bc0c
Say that Java 17 is required and use implementation in the Gradle sni…
oryan-block Oct 24, 2026
70a1410
Remove unused test dependencies and redundant compiler properties
oryan-block Oct 24, 2026
35ff6ff
Merge pull request #930 from graphql-java-kickstart/build/15-cleanup
oryan-block Oct 24, 2026
f374f9e
Test Kotlin custom scalars without visible properties in arguments
oryan-block Oct 24, 2026
5ef7805
Embed Kotlin custom scalars that Jackson writes as empty objects
oryan-block Oct 24, 2026
13e7af5
Test a Kotlin custom scalar without visible properties in an Optional…
oryan-block Oct 24, 2026
91d25e2
Convert embedded values read as a Map or JsonNode on their own
oryan-block Oct 24, 2026
2c19290
Merge pull request #931 from graphql-java-kickstart/bugfix/926-kotlin…
oryan-block Oct 24, 2026
0797936
Test custom scalars without visible properties written with a type or…
oryan-block Oct 24, 2026
771b5f1
Pass custom scalars without visible properties written with a type or…
oryan-block Oct 24, 2026
a17cb09
Fail instead of passing type and object ids for custom scalars withou…
oryan-block Oct 24, 2026
f6f4fa4
Merge pull request #934 from graphql-java-kickstart/bugfix/932-typed-…
oryan-block Oct 24, 2026
8d9d4ec
Link the How graphql-java-tools builds a schema wiki page from the RE…
oryan-block Oct 26, 2026
3f022b9
Merge pull request #936 from graphql-java-kickstart/docs/how-it-works…
oryan-block Oct 26, 2026
d60c852
Unwrap a DataFetcherResult inside an Optional
oryan-block Oct 29, 2026
2c00200
Look at the entry inside an Optional instead of indexing into the unw…
oryan-block Oct 29, 2026
1b314a3
Merge pull request #940 from graphql-java-kickstart/bugfix/optional-d…
oryan-block Oct 29, 2026
d54d052
Wait on a future inside a wrapper whose transformer returns a future
oryan-block Oct 30, 2026
cd3233c
Merge pull request #941 from graphql-java-kickstart/bugfix/938-future…
oryan-block Oct 30, 2026
56733db
Update all non-major dependencies
renovate[bot] Oct 30, 2026
3c8af1e
Merge pull request #935 from graphql-java-kickstart/renovate/all-mino…
oryan-block Nov 3, 2026
13c9723
Update version for release
actions-user Nov 3, 2026
b0c5419
Update version for release
actions-user Nov 3, 2026
eeddfc0
Merge pull request #942 from graphql-java-kickstart/version-release
oryan-block Nov 3, 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
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '15' ]
java: [ '17', '21', '25' ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
34 changes: 23 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,56 @@
name: Release
on: [ workflow_dispatch ]
on:
workflow_dispatch:
inputs:
version:
description: Version to release, e.g. 14.3.0
required: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify

publish:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Setup Maven Central
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
java-version: '8'
distribution: 'adopt'
server-id: ossrh
java-version: '17'
distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
mvn-server-repository-origins: central:https://central.sonatype.com
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: Publish release
run: bash github-build.sh
env:
RELEASE_VERSION: ${{ inputs.version }}
MAVEN_USERNAME: ${{ secrets.OSS_USER_TOKEN_KEY }}
MAVEN_PASSWORD: ${{ secrets.OSS_USER_TOKEN_PASS }}
GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release PR
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v8
with:
branch: version-release
title: Version Release
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify

Expand All @@ -22,15 +22,16 @@ jobs:
needs: build
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7
- name: Setup Maven Central
uses: actions/setup-java@v3
uses: actions/setup-java@v6
with:
java-version: '8'
distribution: 'adopt'
server-id: ossrh
java-version: '17'
distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
mvn-server-repository-origins: central:https://central.sonatype.com
- name: Publish release
run: mvn --batch-mode deploy
env:
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# GraphQL Java Tools

[![Github Build](https://github.com/graphql-java-kickstart/graphql-java-tools/actions/workflows/snapshot.yml/badge.svg)](https://github.com/graphql-java-kickstart/graphql-java-tools/actions/workflows/snapshot.yml)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.graphql-java-kickstart/graphql-java-tools/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java-kickstart/graphql-java-tools)
[![Maven Central](https://maven-badges.sml.io/maven-central/io.github.graphql-java-kickstart/graphql-java-tools/badge.svg)](https://maven-badges.sml.io/maven-central/io.github.graphql-java-kickstart/graphql-java-tools)
[![Discuss on GitHub](https://img.shields.io/badge/GitHub-discuss-orange)](https://github.com/graphql-java-kickstart/graphql-java-tools/discussions)

This library allows you to use the GraphQL schema language to build your [graphql-java](https://github.com/graphql-java/graphql-java) schema.
Expand All @@ -18,38 +18,40 @@ Are you interested in improving our documentation, working on the codebase, revi

## Quick start

GraphQL Java Tools requires Java 17 or later.

### Using Gradle
Set the Kotlin version in your `gradle.properties`:
```
kotlin.version=1.8.10
kotlin.version=2.3.10
```

Add the dependency:
```groovy
compile 'com.graphql-java-kickstart:graphql-java-tools:13.0.3'
implementation 'io.github.graphql-java-kickstart:graphql-java-tools:15.0.0'
```

### Using Maven
Set the Kotlin version in your `<properties>` section:
```xml

<properties>
<kotlin.version>1.8.10</kotlin.version>
<kotlin.version>2.3.10</kotlin.version>
</properties>
```

Add the dependency:
```xml
<dependency>
<groupId>com.graphql-java-kickstart</groupId>
<groupId>io.github.graphql-java-kickstart</groupId>
<artifactId>graphql-java-tools</artifactId>
<version>13.0.3</version>
<version>15.0.0</version>
</dependency>
```

## Documentation

Take a look at our [documentation](https://www.graphql-java-kickstart.com/tools/) for more details.
Take a look at our [documentation](https://graphql-java-kickstart.github.io/tools/) for more details.

## Why GraphQL Java Tools?

Expand All @@ -58,11 +60,10 @@ Take a look at our [documentation](https://www.graphql-java-kickstart.com/tools/
A few libraries exist to ease the boilerplate pain, including [GraphQL-Java's built-in schema-first wiring](https://www.graphql-java.com/documentation/master/schema/), but none (so far) do type and datafetcher discovery.
* **Stateful Data Fetchers**: If you're using an IOC container (like Spring), it's hard to wire up datafetchers that make use of beans you've already defined without a bunch of fragile configuration. GraphQL Java Tools allows you to register "Resolvers" for any type that can bring state along and use that to resolve fields.
* **Generated DataFetchers**: GraphQL Java Tools automatically creates data fetchers for your fields that call the appropriate method on your java class. This means all you have to do to create a new field is add the field definition to your schema and add a corresponding method on your class.
* **Type->Class Discovery**: GraphQL Java Tools starts from your root objects (Query, Mutation) and, as it's generating data fetchers for you, starts to learn about the classes you use for a certain GraphQL type.
* **Type->Class Discovery**: GraphQL Java Tools starts from your root objects (Query, Mutation) and, as it's generating data fetchers for you, starts to learn about the classes you use for a certain GraphQL type. [How graphql-java-tools builds a schema](https://github.com/graphql-java-kickstart/graphql-java-tools/wiki/How-graphql-java-tools-builds-a-schema) walks through each step.
* **Class Validation**: Since there aren't any compile-time checks of the type->class relationship, GraphQL Java Tools will warn you if you provide classes/types that you don't need to, as well as erroring if you use the wrong Java class for a certain GraphQL type when it builds the schema.
* **Unit Testing**: Since your GraphQL schema is independent of your data model, this makes your classes simple and extremely testable.

## Known Issues

[Known issues are aggregated at the wiki](https://github.com/graphql-java-kickstart/graphql-java-tools/wiki/Known-Issues).

34 changes: 31 additions & 3 deletions github-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,24 @@ getVersion() {
grep -m1 -o "<version>.*</version>$" pom.xml | awk -F'[><]' '{print $3}'
}

removeSnapshots() {
sed -i 's/-SNAPSHOT//' pom.xml
requireSnapshot() {
local APP_VERSION=$(getVersion)
if [[ ${APP_VERSION} != *-SNAPSHOT ]]; then
echo "Version in pom.xml must end with -SNAPSHOT to be released: '${APP_VERSION}'"
exit 1
fi
}

setReleaseVersion() {
if [[ ! ${RELEASE_VERSION} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Release version must look like 14.3.0: '${RELEASE_VERSION}'"
exit 1
fi
sed -i "0,/<version>.*<\/version>/s//<version>${RELEASE_VERSION}<\/version>/" pom.xml
local PREVIOUS_VERSION=${PREVIOUS_TAG#v}
sed -i -e "s/graphql-java-tools:${PREVIOUS_VERSION}'/graphql-java-tools:${RELEASE_VERSION}'/" \
-e "s/<version>${PREVIOUS_VERSION}<\/version>/<version>${RELEASE_VERSION}<\/version>/" README.md
grep -q "<version>${RELEASE_VERSION}</version>" README.md || echo "::warning::README.md still shows another version, update it manually"
}

commitRelease() {
Expand All @@ -15,6 +31,14 @@ commitRelease() {
git tag -a "v${APP_VERSION}" -m "Tag release version"
}

publishTag() {
local APP_VERSION=$(getVersion)
git push origin "v${APP_VERSION}"
# Release tags aren't on master's first-parent history, so GitHub can't find the previous one on its own
gh release create "v${APP_VERSION}" --verify-tag --draft --generate-notes --notes-start-tag "${PREVIOUS_TAG}" --title "v${APP_VERSION}" \
|| echo "::warning::Draft release for v${APP_VERSION} was not created, create it manually"
}

bumpVersion() {
echo "Bump version number"
local APP_VERSION=$(getVersion | xargs)
Expand Down Expand Up @@ -43,11 +67,15 @@ commitNextVersion() {
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"

requireSnapshot
PREVIOUS_TAG=$(gh release view --json tagName --jq .tagName)

echo "Deploying release to Maven Central"
removeSnapshots
setReleaseVersion

mvn --batch-mode -Prelease deploy

commitRelease
publishTag
bumpVersion
commitNextVersion
Loading