Skip to content

Support underlying type extraction for Kotlin value classes in KSP codegen#1404

Merged
velo merged 1 commit into
OpenFeign:masterfrom
jbl428:feature/kotlin-value-class-ksp
Oct 8, 2025
Merged

Support underlying type extraction for Kotlin value classes in KSP codegen#1404
velo merged 1 commit into
OpenFeign:masterfrom
jbl428:feature/kotlin-value-class-ksp

Conversation

@jbl428
Copy link
Copy Markdown
Contributor

@jbl428 jbl428 commented Oct 8, 2025

Summary

resolves #1403

Fixed codegen error when processing Kotlin value class columns by extracting their underlying wrapped type.

Changes

Modified TypeExtractor.kt to detect value classes.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (928e4d1) to head (e32c8c2).
⚠️ Report is 7 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...n/kotlin/com/querydsl/ksp/codegen/TypeExtractor.kt 0.00% 19 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #1404    +/-   ##
=======================================
  Coverage    0.00%   0.00%            
=======================================
  Files         813     838    +25     
  Lines       31227   31566   +339     
  Branches     3543    3557    +14     
=======================================
- Misses      31227   31566   +339     
Flag Coverage Δ
cubrid 0.00% <0.00%> (?)
db2 0.00% <0.00%> (?)
embedded 0.00% <0.00%> (?)
examples 0.00% <ø> (?)
firebird 0.00% <0.00%> (?)
mongodb 0.00% <0.00%> (?)
mysql 0.00% <0.00%> (?)
oracle 0.00% <0.00%> (?)
postgresql 0.00% <0.00%> (?)
test 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@velo velo requested a review from IceBlizz6 October 8, 2025 09:34
@velo velo merged commit 753cb51 into OpenFeign:master Oct 8, 2025
6 checks passed
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.

Support underlying type extraction for Kotlin value classes in KSP codegen

2 participants