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
This PR is attempting to solve #1255
Currently KSP module will throw exception when it encounters an
arbitrary type without hibernate annotations, because it believes this
is invalid and will alert the user to make the correct configuration.
But there seems to exist cases where arbitrary types are allowed
(possibly through plugins?).
This PR adds a fallback where it uses ComparablePath if the type
implements Compararable interface and otherwise it uses SimplePath.
Copy file name to clipboardExpand all lines: querydsl-tooling/querydsl-ksp-codegen/src/main/kotlin/com/querydsl/ksp/codegen/TypeExtractor.kt
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ class TypeExtractor(
24
24
?: simpleType(type)
25
25
?: referenceType(type)
26
26
?: collectionType(type)
27
-
?:throwError("Type was not recognised, This may be an entity that has not been annotated with @Entity, or maybe you are using javax instead of jakarta.")
0 commit comments