Skip to content

Make wrappers more concize #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Make wrappers more concize #17

wants to merge 2 commits into from

Conversation

DanyMariaLee
Copy link
Contributor

No description provided.

@@ -2,6 +2,6 @@
ru-tinkoff-aerospike-dsl {
keyWrapper-namespace = "test"
keyWrapper-setName = "test33"
example-host = "127.0.0.1"
example-host = "ds-aerospike01t"
Copy link
Contributor

Choose a reason for hiding this comment

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

inside)

val out = weakTypeOf[(Map[String, Option[T]], Int, Int)]
val tpeSt = q"${tpe.toString}"

println("type " + tpe)
Copy link
Contributor

Choose a reason for hiding this comment

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

remained after debug?

@@ -244,12 +185,18 @@ object BinWrapper {
Value.getFromRecordObject(any) match {
case m: MapValue => m.getObject match {
case ms: java.util.Map[Any @unchecked, Any @unchecked] =>
val res = castTuple(ms.asScala.iterator.toMap, $ts)
res.collect { case t: $tpe => t }
println("tuple from map " + ms.asScala.iterator.toMap)
Copy link
Contributor

Choose a reason for hiding this comment

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

!

case t if tupleArity(t) != 0 =>
val tplArity = tupleArity(t)
println("IM IN TUPLE " + t)
Copy link
Contributor

Choose a reason for hiding this comment

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

!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants