Skip to content

Conversation

IceBlizz6
Copy link
Collaborator

Solves #1342 by detecting classes that are annotated with com.querydsl.core.annotations.QueryEntity and org.springframework.data.mongodb.core.mapping.Document as valid entities.

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 0% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (a78b8c6) to head (1e6282e).

Files with missing lines Patch % Lines
...tlin/com/querydsl/ksp/codegen/QueryDslProcessor.kt 0.00% 23 Missing ⚠️
.../kotlin/com/querydsl/ksp/codegen/QueryModelType.kt 0.00% 11 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #1345    +/-   ##
=======================================
  Coverage    0.00%   0.00%            
=======================================
  Files         812     837    +25     
  Lines       31149   31485   +336     
  Branches     3536    3544     +8     
=======================================
- Misses      31149   31485   +336     
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.

@IceBlizz6
Copy link
Collaborator Author

I made some attempts at testing this, it gave me an error cause i was using JPA and it seems like QueryEntity annotation by itself doesn't work then?

Let me know if you understand how to do a setup that makes QueryEntity work.

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.

1 participant