infobip / infobip-spring-data-querydsl

Infobip Spring Data Querydsl provides new functionality that enables the user to leverage the full power of Querydsl API on top of Spring Data repository infrastructure.
Apache License 2.0
278 stars 57 forks source link

Add setUseLiterals to querydslSqlConfiguration bean in R2dbcConfiguration #84

Closed xeounxzxu closed 1 year ago

xeounxzxu commented 1 year ago

Changes :

We register R2dbcConfiguration to bean through QuerydslR2dbcRepositoriesAutoConfiguration.And register com.querydsl.sql.Configuration as bean.When registering a bean, set UseLiterals.

Reason :

Set to setUseLiterals(true) in each and every method of SimpleQuerydslR2dbcFragment. But I think it's redundant code, and I think it's a better way to set the corresponding option in config.