Patrick Steiger
03/06/2023, 12:55 AMPatrick Steiger
03/06/2023, 12:57 AMjw
03/06/2023, 12:57 AMmoleculeFlow
then but need to apply some operator for caching the last itemjw
03/06/2023, 12:57 AMPatrick Steiger
03/06/2023, 12:57 AMAkio Yasui
03/08/2023, 12:51 PMUser
message, I cannot define another User
class in my own module without the K/N compiler suffixing an underscore to either of them (User_
) in the generated ObjC framework.
I even have a number protobuf schemas for different endpoints, that leads to multiple underscores (User___
) in the suffix when they share a same name. That’s why I want to make the naming persistent by specifying a custom prefix for each wire-compiler invocation, or letting it decide one from package names or something.hfhbd
03/08/2023, 1:04 PMAkio Yasui
03/08/2023, 1:39 PMUser___
example above. Is there any way to annotate wire classes?Jacob Rhoda
03/08/2023, 7:28 PMcontext
parameter. I want it to use the caller’s context (unless that’s unsafe). I can’t find any examples where this needs to be specified, but it’s not working here.jw
03/08/2023, 7:33 PMjw
03/08/2023, 7:34 PMJacob Rhoda
03/08/2023, 7:39 PMcontext
parameter? Is that passed invisibly through some syntactic sugar in some situations? Or are those calling a different extension?dave08
03/09/2023, 3:06 PMjw
03/09/2023, 3:35 PMjw
03/09/2023, 3:36 PMdave08
03/09/2023, 4:36 PMSource
(or BufferedSource
?) or is there some higher-level api I could work with?jw
03/09/2023, 4:41 PMPhilip Dukhov
03/10/2023, 12:24 PMCREATE TABLE SomeTable(
enumColumn TEXT AS EnumClass
);
update:
UPDATE SomeTable
SET enumColumn = EnumClass.EnumItem;
I can use argument instead of EnumClass.EnumItem
, but my query only makes sense with single enum constant.hfhbd
03/10/2023, 12:47 PMNeil Miller
03/10/2023, 6:59 PMgenerateSqlDelightSchema
but I'm seeing generateReleaseMainDatabaseSchema
and generateDebugMainDatabaseSchema
.
"MainDatabase" is the configured name of my database, so that makes sense, but why are there "Release" and "Debug" versions of the task?jw
03/10/2023, 7:00 PMNeil Miller
03/10/2023, 7:02 PMjw
03/10/2023, 7:02 PMNeil Miller
03/10/2023, 7:04 PMjean
03/11/2023, 10:16 AMemptyList()
to .defaultValue("%L", defaultValue)
but it generate an array instead : public val myList: List<String> = []
which fails. How can I fix it to generate public val myList: List<String> = emptyList()
instead?Marcin Wisniowski
03/12/2023, 5:32 AMmaxRequestsPerHost
in the Dispatcher, meaning the Interceptor cannot make it's request, because maxRequestsPerHost
is already at limit. No request can finish, because they are waiting at the Interceptor, and I have a deadlock. This seems like a problem that should be pretty common, so what is the proper solution here?
• Make the inner request with a different Dispatcher?
• Somehow make sure I don't reach my maxRequestsPerHost
, so there is always room for the inner request?
• Move the inner request out of the Interceptor somehow? (Maybe there is some mechanism I don't know about where I can hook into the request before it's counted in maxRequestsPerHost
)?jessewilson
03/12/2023, 5:34 AMjessewilson
03/12/2023, 5:35 AMMarcin Wisniowski
03/12/2023, 5:37 AMMarcin Wisniowski
03/12/2023, 5:38 AMsuspend
functions I currently have)?