Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d6y/cc-noodle
https://github.com/d6y/cc-noodle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/d6y/cc-noodle
- Owner: d6y
- License: apache-2.0
- Created: 2015-08-23T16:56:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-23T16:56:27.000Z (over 9 years ago)
- Last Synced: 2023-03-10T19:08:47.927Z (almost 2 years ago)
- Language: Scala
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```