Skip to content

Sync master into querydsl-7.0#1218

Merged
velo merged 1 commit intoquerydsl-7.0from
master
Jun 9, 2025
Merged

Sync master into querydsl-7.0#1218
velo merged 1 commit intoquerydsl-7.0from
master

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Jun 9, 2025

This PR syncs changes from master into querydsl-7.0

…g in Querydsl Aggregations (#1181)

* Introduce TypeWrapper to wrap Expression results into custom types

- Implement TypeWrapper<S, T> as a FactoryExpression
- Allows converting a source Expression (e.g. BigDecimal) to a domain type (e.g. Money)
- Prepares QueryDSL core to support custom aggregation projections without core API changes

* Add JPAQueryCustomTypeWrapperTest covering success and failure scenarios

- Verify IllegalArgumentException for unsupported custom types without wrapper
- Verify sum-and-wrap to Money via TypeWrapper in both direct and DTO projection use cases
- Ensure both positive and negative paths are exercised
@velo velo merged commit 8d063fa into querydsl-7.0 Jun 9, 2025
5 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.

2 participants