diff --git a/bom/application/pom.xml b/bom/application/pom.xml index e1b0b70e6f343..53fdddfcf0dc0 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -38,7 +38,7 @@ 1.12.5 2.1.12 0.22.0 - 21.3 + 22.1 3.1 4.0.1 4.0.1 @@ -55,7 +55,7 @@ 4.1.0 4.0.0 3.10.0 - 2.8.6 + 2.9.0 6.3.0 4.5.3 2.1.2 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 c831f5f6ffd9f..1506dd8f0ee34 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 @@ -53,6 +53,7 @@ import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem; import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassConditionBuildItem; import io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem; +import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem; import io.quarkus.deployment.builditem.nativeimage.ServiceProviderBuildItem; import io.quarkus.deployment.metrics.MetricsCapabilityBuildItem; import io.quarkus.maven.dependency.GACT; @@ -241,6 +242,11 @@ void registerNativeResourceBundle(BuildProducer runtimeInitializedClasses) { + runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem("graphql.util.IdGenerator")); + } + @BuildStep SmallRyeGraphQLModifiedClasesBuildItem createIndex(TransformedClassesBuildItem transformedClassesBuildItem) { Map modifiedClasses = new HashMap<>(); diff --git a/tcks/microprofile-graphql/src/main/resources/overrides/basicScalarTests.csv b/tcks/microprofile-graphql/src/main/resources/overrides/basicScalarTests.csv new file mode 100644 index 0000000000000..5f2526d80fc25 --- /dev/null +++ b/tcks/microprofile-graphql/src/main/resources/overrides/basicScalarTests.csv @@ -0,0 +1,3 @@ +# Basic Scalar Types +23| type ScalarHolder | charArray: [String!] | Expecting a String Array Scalar (for Java Char[]) Type in type ScalarHolder +47| type Query | testCharArray: [String!] | Expecting a non null Stirng Array (for Java Char[]) Scalar Type in type Query \ No newline at end of file diff --git a/tcks/microprofile-graphql/src/main/resources/overrides/importantDatesUS/output.json b/tcks/microprofile-graphql/src/main/resources/overrides/importantDatesUS/output.json new file mode 100644 index 0000000000000..43170576feaa0 --- /dev/null +++ b/tcks/microprofile-graphql/src/main/resources/overrides/importantDatesUS/output.json @@ -0,0 +1,5 @@ +{ + "data": { + "importantDatesUS": null + } +} \ No newline at end of file diff --git a/tcks/microprofile-graphql/src/main/resources/overrides/trackLongLat/output.json b/tcks/microprofile-graphql/src/main/resources/overrides/trackLongLat/output.json new file mode 100644 index 0000000000000..7bb698a75f141 --- /dev/null +++ b/tcks/microprofile-graphql/src/main/resources/overrides/trackLongLat/output.json @@ -0,0 +1,5 @@ +{ + "data": { + "trackHeroLongLat": null + } +} \ No newline at end of file