Skip to content

add shapeless helper and remove jto#4

Open
rlecomte wants to merge 4 commits intomasterfrom
feature/shape
Open

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

Conversation

@rlecomte
Copy link

No description provided.

Copy link

@qboileau qboileau left a comment

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"),

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 {

Choose a reason for hiding this comment

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

T'étais chaud !! GG


bintrayOrganization := Some("tabmo")

scalaOrganization := "org.typelevel"

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

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

Comments