-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support repeated leafs in BigtableType #255 #284
Conversation
Codecov Report
@@ Coverage Diff @@
## master #284 +/- ##
==========================================
+ Coverage 96.38% 96.47% +0.09%
==========================================
Files 38 38
Lines 1189 1220 +31
Branches 49 53 +4
==========================================
+ Hits 1146 1177 +31
Misses 43 43
Continue to review full report at Codecov.
|
v.toSeq.flatMap(btf.put(k, _)(cm)) | ||
} | ||
|
||
implicit def btfIterable[T, C[T]](implicit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Now we can store iterables in a cell 🎉
case None => | ||
(1 to n).foreach { _ => | ||
val s = buf.getInt | ||
val ba = new Array[Byte](s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we need to handle the case with an empty string somehow explicitly, but you have added a test for Repeated
so looks like it should work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, arrays can be empty, and scalacheck should generate "" cases.
4f86ddd
to
dfc882a
Compare
No description provided.