private fun read(): Query {
return HostelsTable.join(Users, JoinType.LEFT, additionalConstraint = { HostelsTable.manager eq Users.uid })
.join(otherTable = HostelFacilitiesJunctionTable,
joinType = JoinType.LEFT,
additionalConstraint = { HostelsTable.id eq HostelFacilitiesJunctionTable.hostel })
After upgrading to kotlin 2.0.0-RC2
HostelsTable.id eq HostelFacilitiesJunctionTable.hostel
started giving an error
Type argument for a type parameter V can't be inferred because it has incompatible upper bounds: UUID, Comparable<UUID>, EntityID<UUID> (multiple incompatible classes: UUID, EntityID<UUID>)
switching back to 1.9.23 resolves the issue
have there be any changes made that affect the behaviour here in kt 2.0?