Skip to content

Add fallback for unknown types in KSP#1263

Merged
IceBlizz6 merged 1 commit intomasterfrom
fix/ksp-fallback-type
Jul 7, 2025
Merged

Add fallback for unknown types in KSP#1263
IceBlizz6 merged 1 commit intomasterfrom
fix/ksp-fallback-type

Conversation

@IceBlizz6
Copy link
Collaborator

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.

@IceBlizz6 IceBlizz6 enabled auto-merge July 1, 2025 19:54
@IceBlizz6 IceBlizz6 merged commit 4ad4cfe into master Jul 7, 2025
6 checks passed
@IceBlizz6 IceBlizz6 deleted the fix/ksp-fallback-type branch July 7, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants