Skip to content

add shapeless helper and remove jto#4

Open
rlecomte wants to merge 4 commits into
masterfrom
feature/shape
Open

add shapeless helper and remove jto#4
rlecomte wants to merge 4 commits into
masterfrom
feature/shape

Conversation

@rlecomte

Copy link
Copy Markdown

No description provided.

@qboileau qboileau left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

case class Person(name: String, age: Long, contact: Contact, friends: Option[List[String]])

val personAs = AsValue.obj(
"name" -> AsString("Romain"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Romy :)

implicit witness: Witness.Aux[K],
hDecoder: Lazy[AsDecoder[H]],
tDecoder: Lazy[AsDecoder[T]]
): AsDecoder[FieldType[K, H] :: T] = instance {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T'étais chaud !! GG

Comment thread build.sbt

bintrayOrganization := Some("tabmo")

scalaOrganization := "org.typelevel"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu bosses chez typelevel ? :D

@julien-lafont

Copy link
Copy Markdown

Un test end-to-end (qui servirait de doc) ne serait pas de trop : écrire une case class dans AS et la récupérer avec une query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants