Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 846c66f

Browse files
authored
Merge pull request #904 from graphql-java-kickstart/renovate/major-lib_extended_scalars_ver
fix(deps): update dependency com.graphql-java:graphql-java-extended-scalars to v20
2 parents 1bae533 + e071f1e commit 846c66f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SOURCE_COMPATIBILITY=17
3030
TARGET_COMPATIBILITY=17
3131
### Dependencies
3232
LIB_GRAPHQL_JAVA_VER=20.2
33-
LIB_EXTENDED_SCALARS_VER=19.1
33+
LIB_EXTENDED_SCALARS_VER=20.2
3434
LIB_SPRING_BOOT_VER=3.0.6
3535
LIB_GRAPHQL_SERVLET_VER=15.1.0-SNAPSHOT
3636
LIB_GRAPHQL_JAVA_TOOLS_VER=13.0.3

graphql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/autoconfigure/web/servlet/test/aliasedscalars/AliasedScalarsIncorrectConfigurationTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ void shouldThrowErrorOnStartupIfScalarDoesNotExists() {
3333
.withMessage(
3434
"Scalar(s) 'BugDecimal' cannot be aliased."
3535
+ " Only the following scalars can be aliased by configuration: BigDecimal,"
36-
+ " BigInteger, Boolean, Byte, Char, Date, DateTime, Float, ID, Int, JSON,"
37-
+ " LocalTime, Locale, Long, NegativeFloat, NegativeInt, NonNegativeFloat, NonNegativeInt,"
38-
+ " NonPositiveFloat, NonPositiveInt, Object, PositiveFloat, PositiveInt, Short,"
39-
+ " String, Time, UUID, Url. Note that custom scalar beans cannot be aliased this way.");
36+
+ " BigInteger, Boolean, Byte, Char, CountryCode, Currency, Date, DateTime, Float,"
37+
+ " ID, Int, JSON, LocalTime, Locale, Long, NegativeFloat, NegativeInt,"
38+
+ " NonNegativeFloat, NonNegativeInt, NonPositiveFloat, NonPositiveInt, Object,"
39+
+ " PositiveFloat, PositiveInt, Short, String, Time, UUID, Url."
40+
+ " Note that custom scalar beans cannot be aliased this way.");
4041
}
4142

4243
@Test

graphql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/autoconfigure/web/servlet/test/extendedscalars/ExtendedScalarsTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ void shouldThrowErrorOnStartupIfExtendedScalarDoesNotExists() {
3030
assertThatExceptionOfType(ApplicationContextException.class)
3131
.isThrownBy(application::run)
3232
.withMessage(
33-
"Invalid extended scalar name(s) found: BadDecimal, Datee. Valid names are: BigDecimal, "
34-
+ "BigInteger, Byte, Char, Date, DateTime, JSON, LocalTime, Locale, Long, NegativeFloat, NegativeInt, "
35-
+ "NonNegativeFloat, NonNegativeInt, NonPositiveFloat, NonPositiveInt, Object, PositiveFloat, "
36-
+ "PositiveInt, Short, Time, UUID, Url.");
33+
"Invalid extended scalar name(s) found: BadDecimal, Datee. Valid names are: BigDecimal, BigInteger, Byte, Char, CountryCode, Currency, Date, DateTime, JSON, LocalTime, Locale, Long, NegativeFloat, NegativeInt, NonNegativeFloat, NonNegativeInt, NonPositiveFloat, NonPositiveInt, Object, PositiveFloat, PositiveInt, Short, Time, UUID, Url.");
3734
}
3835

3936
@Test

0 commit comments

Comments
 (0)