Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d6y/cc-noodle


https://github.com/d6y/cc-noodle

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Slickless GetResult for Case Classes

```
[info] caseclass-getresult.scala:62: Example.caseClassGetResult is not a valid implicit value for slick.jdbc.GetResult[Example.SimpleInt] because:
[info] hasMatchingSymbol reported error: ambiguous implicit values:
[info] both value genSimpleString in object Example of type => shapeless.Generic[Example.SimpleString]{type Repr = shapeless.::[String,shapeless.HNil]}
[info] and value genSimpleInt in object Example of type => shapeless.Generic[Example.SimpleInt]{type Repr = shapeless.::[Int,shapeless.HNil]}
[info] match expected type shapeless.Generic.Aux[C,H]
[info] implicitly[GetResult[SimpleInt]]
[info] ^
[error] caseclass-getresult.scala:62: could not find implicit value for parameter e: slick.jdbc.GetResult[Example.SimpleInt]
[error] implicitly[GetResult[SimpleInt]]
[error] ^
[error] one error found
[error] (compile:compile) Compilation failed
```