Comments (4)
Ah damn, ok I'll take a look. Can you confirm you're using the latest version i.e. 2.0.0-rc.1?
I'm just about to start updating our 50 odd APIs to Spring Boot 2 so this will bite me as well!
from kotlin-jpa-specification-dsl.
@kimyoon21 Are you using the latest version (https://github.com/consoleau/kotlin-jpa-specification-dsl/releases/tag/v2.0.0-rc.1)
If not, are you able to reproduce in this projects tests? That compilation error looks like breaking in your own code (package is app.foodin.entity.common
)
from kotlin-jpa-specification-dsl.
Hi James,
Same error here.
Using
kotlinVersion = "1.3.50"
springBootVersion = "2.2.2.RELEASE"
Thanks
from kotlin-jpa-specification-dsl.
Type inference failed: inline fun <reified T> combineSpecification(specs: Iterable<Specification<T#1 (type parameter of app.foodin.entity.common.combineSpecification)>?>, operation: Specification<T#1>.(Specification<T#1>) -> Specification<T#1>): Specification<T#1> cannot be applied to (Iterable<Specification<T#2 (type parameter of app.foodin.entity.common.and)>?>,KFunction2<Specification<T#2>, @ParameterName Specification<T#2>, Specification<T#2>>)
When I build it, this error occurs.
I am using Kotlin 1.3.61 and spring boot 2.2.4
inline fun <reified T> combineSpecification(specs: Iterable<Specification<T>?>,
operation: Specification<T>.(Specification<T>?) -> Specification<T>?): Specification<T> {
return specs.filterNotNull().fold(emptySpecification()) { existing, new -> existing.operation(new)!! }
}
from kotlin-jpa-specification-dsl.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-jpa-specification-dsl.