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
It seems Constructor.getGenericParameterTypes() does only return the enclosing types one. Using Constructor.getParameters() can help read the Type via Parameter.getParameterizedType of each Parameter.
The text was updated successfully, but these errors were encountered:
This commit fixes an issue where we fail to detect all type arguments from a given constructor. calling getGenericParameterTypes in some cases does not include all Types, we now explicitly iterate over the parameters and extract the parameterized type that is used for creating the TypeInformation.
Closes: #2313
Original pull request: #2314.
This commit fixes an issue where we fail to detect all type arguments from a given constructor. calling getGenericParameterTypes in some cases does not include all Types, we now explicitly iterate over the parameters and extract the parameterized type that is used for creating the TypeInformation.
Closes: #2313
Original pull request: #2314.
It seems
Constructor.getGenericParameterTypes()
does only return the enclosing types one. UsingConstructor.getParameters()
can help read theType
viaParameter.getParameterizedType
of eachParameter
.The text was updated successfully, but these errors were encountered: