-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
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, List, WrappedCollection), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2021-09-22 10:09:38,518 WARN [org.hib.val.int.pro.jav.JavaBeanExecutable] (Quarkus Main Thread) HV000254: Missing parameter metadata for WrappedList(AbstractMapBasedMultimap, Object, List, WrappedCollection), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2021-09-22 10:09:38,528 WARN [org.hib.val.int.pro.jav.JavaBeanExecutable] (Quarkus Main Thread) HV000254: Missing parameter metadata for WrappedCollection(AbstractMapBasedMultimap, Object, Collection, WrappedCollection), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2021-09-22 10:09:38,535 WARN [org.hib.val.int.pro.jav.JavaBeanExecutable] (Quarkus Main Thread) HV000254: Missing parameter metadata for WrappedList(AbstractMapBasedMultimap, Object, List, WrappedCollection), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2021-09-22 10:09:38,545 WARN [org.hib.val.int.pro.jav.JavaBeanExecutable] (Quarkus Main Thread) HV000254: Missing parameter metadata for WrappedCollection(AbstractMapBasedMultimap, Object, Collection, WrappedCollection), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2021-09-22 10:09:38,555 WARN [org.hib.val.int.pro.jav.JavaBeanExecutable] (Quarkus Main Thread) HV000254: Missing parameter metadata for WrappedCollection(AbstractMapBasedMultimap, Object, Collection, WrappedCollection), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
Which comes from classes from graphql-java like graphql.com.google.common.collect.AbstractMapBasedMultimap$RandomAccessWrappedList
For debugging, put a break point at org.hibernate.validator.internal.util.logging.Log_$logger#missingParameterMetadataWithSyntheticOrImplicitParameters
Could you add '-parameters' flag to compilation?
To Reproduce
code-with-quarkus-graphql-validator.zip
Metadata
Metadata
Assignees
Labels
No labels