edwardwongtl
12/10/2018, 8:31 AMSuccess<T>: Result<T>
and Failure<T>: Result<T>
.hmole
12/10/2018, 12:52 PMDouble
when parsing dynamic json? Currently I'm thinking of copying ObjectJsonAdapter
and changing the behaviour.egorand
12/10/2018, 11:21 PMorangy
(
, dots and .build()
are quite noisy… Also I found buildCodeBlock
which is probably leftover of some DSL attempt.jw
12/18/2018, 4:45 PMjw
12/18/2018, 4:45 PMjw
12/18/2018, 4:46 PMjw
12/18/2018, 4:47 PMorangy
orangy
declareClas("Foo") {
property("bar", someType, KModifier.PRIVATE) {
initialize {
statement("%T()", otherType)
}
}
}
Something like thisorangy
orangy
MemberOwnerSpec
, TypeOwnerSpec
and respecitve Builder interfaces, so that it’s not easy to write generic builder function that will generate a type into either File or another Typejw
12/18/2018, 5:21 PMorangy
….initializer(…).initializer(…)
?orangy
InitializedPropertySpec
from initializer
which has another hiding initializer
function as a error-deprecated, you still can call it twice if you capture a spec into a valuejw
12/18/2018, 9:51 PMorangy
dynamic
type? function parameter, property, etcpniederw
12/20/2018, 7:15 PMANY.asNullable()
in 1.0?pniederw
12/20/2018, 7:15 PMANY.copy(nullable = true)
jessewilson
12/21/2018, 3:33 PMdavid.bilik
12/22/2018, 9:26 AMPaul Woitaschek
12/22/2018, 2:34 PMhmole
12/30/2018, 7:05 PMrc5
) generating code which doesn't return autoincremented id from INSERT
statement?. It did in older versions. Do I need to use some other syntax in .sq
files for it?Allan Wang
01/03/2019, 7:52 PMjw
01/03/2019, 7:53 PMAllan Wang
01/03/2019, 7:53 PMdave08
01/08/2019, 6:17 PMinline fun <reified T> Moshi.listAdapter(): JsonAdapter<List<T>> =
Types.newParameterizedType(
List::class.java, T::class.java
).let { this.adapter<List<T>>(it) }
jw
01/08/2019, 6:17 PMFoo<Bar>
orangy
val token = object : TypeToken<T> {}
works (if not inlined more than one level deep, but there is a bug reported on that)dave08
01/08/2019, 7:40 PM