Repository navigation
feat(extended-scalars): bump graphql-java-extended-scalars to 24.0 and register new scalars - #2348
Merged
jjacobs44 merged 1 commit intoSep 14, 2026
Conversation
…d register new scalars Bumps graphql-java-extended-scalars from 22.0 to 24.0 and registers the scalar types added since 22.0: - Time/date group: YearMonth, Year, AccurateDuration, NominalDuration, SecondsSinceEpoch. - New colors group: HexColorCode, configurable via dgs.graphql.extensions.scalars.colors.enabled. Also updates the Spring configuration metadata and adds autoconfiguration and smoke tests for the new scalars. Dependency lock files were updated for the version bump only. Note: graphql-java-extended-scalars master also adds a Uri scalar, but it is not part of any stable release yet, so it is not registered here. Fixes Netflix#2347
voidstackloop
requested review from
asibross,
iparadiso,
iuliiasobolevska,
jjacobs44,
kilink,
kzwang,
paulbakker and
srinivasankavitha
as code owners
September 13, 2026 13:57
jjacobs44
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request checklist
Pull Request type
Changes in this PR
Bumps
graphql-java-extended-scalarsfrom22.0to24.0(the latest stable release) and registers the scalar types that were added since22.0, which were previously not covered by the autoconfiguration:dgs.graphql.extensions.scalars.time-dates):YearMonth,Year,AccurateDuration,NominalDuration,SecondsSinceEpoch.dgs.graphql.extensions.scalars.colors):HexColorCode, enabled by default and independently disableable like the other groups.It also updates the Spring configuration metadata (
spring-configuration-metadata.json) and adds:colorsgroup is present by default and can be disabled, andDependency lock files were updated for the version bump only (
graphql-java-extended-scalars22.0->24.0); no other locked versions were touched.Issue #2347
Alternatives considered
HexColorCodecould have been added to an existing category (e.g.chars), but a dedicatedcolorsgroup is consistent with the existing single-scalar groups (currency,country,ids) and keeps it independently configurable.Uriexists on the library'smasterbranch but is not part of any stable release, so it was intentionally left out and can be added once released.Testing
./gradlew :graphql-dgs-extended-scalars:test— passes (autoconfiguration tests now 12, smoke tests 5; includes the new cases)../gradlew :graphql-dgs-extended-scalars:ktlintCheck— passes../gradlew :graphql-dgs:testand./gradlew :graphql-dgs-client:test— pass.