You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this example The code contains a generic class referenced by a Java record with an additional constructor.
If complied with:
Java 17 - it starts but it ignores the annotations on the generic class RangeFilter
Java 21, 22 it does not even start complaining about Caused by: io.leangen.graphql.metadata.exceptions.TypeMappingException: Type io.leangen.graphql.samples.dto.FilterInput$RangeFilter is unbounded or missing generic type parameters
In Java 23 it starts, I did not check if the generated schema is correct
As a workaround it helps to drop non-default constructor from Java records or to not use records at all.
The text was updated successfully, but these errors were encountered:
See this example The code contains a generic class referenced by a Java record with an additional constructor.
If complied with:
RangeFilter
Caused by: io.leangen.graphql.metadata.exceptions.TypeMappingException: Type io.leangen.graphql.samples.dto.FilterInput$RangeFilter is unbounded or missing generic type parameters
As a workaround it helps to drop non-default constructor from Java records or to not use records at all.
The text was updated successfully, but these errors were encountered: