diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 11714ce93ef3c..4dd6962917bb5 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -45,6 +45,7 @@ 1.10.5 2.1.12 0.22.0 + 20.1 3.0.2 4.0.1 4.0.1 @@ -61,7 +62,7 @@ 4.0.1 4.0.0 3.3.2 - 2.1.2 + 2.1.3 3.0.3 6.2.1 4.2.1 @@ -3952,6 +3953,11 @@ smallrye-open-api-ui ${smallrye-open-api.version} + + com.graphql-java + graphql-java + ${graphql-java.version} + io.smallrye smallrye-graphql diff --git a/extensions/smallrye-graphql/deployment/src/main/java/io/quarkus/smallrye/graphql/deployment/SmallRyeGraphQLProcessor.java b/extensions/smallrye-graphql/deployment/src/main/java/io/quarkus/smallrye/graphql/deployment/SmallRyeGraphQLProcessor.java index 6aefe13e229c7..3888141529204 100644 --- a/extensions/smallrye-graphql/deployment/src/main/java/io/quarkus/smallrye/graphql/deployment/SmallRyeGraphQLProcessor.java +++ b/extensions/smallrye-graphql/deployment/src/main/java/io/quarkus/smallrye/graphql/deployment/SmallRyeGraphQLProcessor.java @@ -220,6 +220,7 @@ void registerNativeImageResources(BuildProducer servic void registerNativeResourceBundle(BuildProducer nativeResourceBundleProvider) throws IOException { nativeResourceBundleProvider.produce(new NativeImageResourceBundleBuildItem("i18n.Validation")); + nativeResourceBundleProvider.produce(new NativeImageResourceBundleBuildItem("i18n.Parsing")); } @BuildStep diff --git a/extensions/vertx-graphql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java b/extensions/vertx-graphql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java index 59d642035b934..19cf2734691da 100644 --- a/extensions/vertx-graphql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java +++ b/extensions/vertx-graphql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java @@ -50,6 +50,7 @@ List registerForReflection() { void registerI18nResources(BuildProducer resourceBundle) { resourceBundle.produce(new NativeImageResourceBundleBuildItem("i18n/Execution")); resourceBundle.produce(new NativeImageResourceBundleBuildItem("i18n/General")); + resourceBundle.produce(new NativeImageResourceBundleBuildItem("i18n/Parsing")); resourceBundle.produce(new NativeImageResourceBundleBuildItem("i18n/Validation")); } diff --git a/tcks/microprofile-graphql/src/main/resources/overrides/invalidEnumValue/output2.json b/tcks/microprofile-graphql/src/main/resources/overrides/invalidEnumValue/output2.json index a667fb5d6128f..1e1e1074ebc64 100644 --- a/tcks/microprofile-graphql/src/main/resources/overrides/invalidEnumValue/output2.json +++ b/tcks/microprofile-graphql/src/main/resources/overrides/invalidEnumValue/output2.json @@ -1,7 +1,7 @@ { "errors": [ { - "message": "Validation error (WrongType@[createNewHero]) : argument 'hero.tshirtSize' with value 'EnumValue{name='XLTall'}' is not a valid 'ShirtSize' - Expected enum literal value not in allowable values - 'EnumValue{name='XLTall'}'.", + "message": "Validation error (WrongType@[createNewHero]) : argument 'hero.tshirtSize' with value 'EnumValue{name='XLTall'}' is not a valid 'ShirtSize' - Literal value not in allowable values for enum 'ShirtSize' - 'EnumValue{name='XLTall'}'", "locations": [ { "line": 3,