Robert Pospisil
Robert Pospisil
**Describe the bug** Using quarkus with graphql and hibernate validator, I get the following warnings. ``` 2021-09-22 10:09:38,512 WARN [org.hib.val.int.pro.jav.JavaBeanExecutable] (Quarkus Main Thread) HV000254: Missing parameter metadata for RandomAccessWrappedList(AbstractMapBasedMultimap, Object,...
When I activate quarkus.smallrye-graphql.schema-include-directives=true and use a regex like this ``` @Pattern(regexp = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]") ``` I get an error like this when I try to print the schema ``` java.util.UnknownFormatConversionException:...
I found more problems with annotations and lists. ### Java Code like this ``` @Query public String testNull(List list) @Query public String test1(@NonNull List list) @Query public String test2(List list)...
If I use the hibernate validator to validate the input of a query or mutation, I get a response like this if it is invalid: ``` { "errors": [ {...
Is there a way to use validation groups like this? Described in the quarkus guide for rest endpoints https://quarkus.io/guides/validation#validation-groups-for-rest-endpoint-or-service-method-validation ``` @Null(groups = ValidationGroups.Insert.class) @NotNull(groups = ValidationGroups.Update.class) public Long id; ```...
When using the hibernate validator and having an api like this ``` @Mutation public Uni nonBlocking(@Valid Model model) { return Uni.createFrom().item(model.getTest()); } @Mutation @Blocking public Uni blocking(@Valid Model model) {...
We should although support resolvers which resolve the interface/union of a type if there is no other resolver. If there are multiple interfaces, we could try to use the first...
Currently migrating to quarkus 3. I am getting some errors, the same code works with quarkus 2. ``` public record InsertLangEntryGQLJ(String lang, T record) { @JsonbCreator public InsertLangEntryGQLJ { }...
The server supports the Kotlin annotation for NotNull, the client does not. Maybe it is similar simple to the server side https://github.com/smallrye/smallrye-graphql/issues/1109
Using the client in kotlin with a list of enums as input types results in a RuntimeException. ``` java.lang.RuntimeException: unsupported reflection type class sun.reflect.generics.reflectiveObjects.WildcardTypeImpl at io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo.raw(TypeInfo.java:352) at io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo.getRawType(TypeInfo.java:292) at io.smallrye.graphql.client.impl.typesafe.reflection.TypeInfo.isPrimitive(TypeInfo.java:194)...