@yossigil Scala has Java's type erasure but no raw types, so the Java solution for instantiating
the fluent interfaces does not hold. I implemented a brute-force solution, where fluent API classes
accept type variable instantiations in the constructor:
class MyClass[T](val t: T) { /*...use t when T value is needed...*/ }
The solution proposed here, to instantiate type variables, did not work properly.
@yossigil Scala has Java's type erasure but no raw types, so the Java solution for instantiating the fluent interfaces does not hold. I implemented a brute-force solution, where fluent API classes accept type variable instantiations in the constructor:
The solution proposed here, to instantiate type variables, did not work properly.