hfhbd
01/31/2022, 1:22 PMplayerForNumber
, the attribute name
is not found.Humphrey
01/31/2022, 5:24 PMdatabase.Schema.create(driver)
. I'm using a file based database. Second time I start my application the database already exists. I don't want it to recreate the tables. What is a good approach for that?spierce7
02/01/2022, 8:25 PMBenoit Quenaudon
02/04/2022, 1:42 AMspierce7
02/04/2022, 2:22 AMjames
02/10/2022, 12:33 AMBenoit Quenaudon
02/14/2022, 10:06 PMVivek Modi
02/15/2022, 10:54 AMimplementation "com.squareup.retrofit2:retrofit:2.9.0"
1. How to pause uploading the file through server as well.
2. How to cancel uploading the file.Colton Idle
02/16/2022, 2:26 AMval request = chain.request().newBuilder().removeHeader("If-None-Match").build()
Didn't work as an application interceptor. Going to give network interceptor a whirldimsuz
02/24/2022, 2:19 PM@SingleIn
in Anvil's sample. I wonder will dagger differentiate @SingleIn(Scope1::class)
and @SingleIn(Scope2::class)
during code generation (and after) as different scopes? JSR docs seem to mention that @Scope
-ed annotations shouldn't have attributes, so I thought does this mean dagger will look only at annotation name?dimsuz
02/24/2022, 2:42 PMe: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.ir.util.IdSignature$PublicSignature org.jetbrains.kotlin.ir.util.IdSignature.asPublic()'found the similar github issue, it says to update anvil version, but I'm already using: kotlin-1.6.10 anvil-2.3.11 dagger-2.39.1 // this one is a bit old could it be because of dagger version?
dimsuz
02/25/2022, 1:56 PM@ContributesBinding(...)
, but this requires that target class extends some interface.
Is it wrong to wish this? It just looks simpler than writing a boring provide with MyClass()
in the Module.Dorit Rein
02/25/2022, 9:29 PMSpikey Sanju
02/26/2022, 8:57 AMSQL Delight's
Todo notes app are not persisting data when I install My Desktop Compose App
as DMG
file on my M1 Macbook
?
But everything works fine on my dev machine.dave08
02/27/2022, 4:26 PMcom.squareup.anvil.compiler.api.AnvilCompilationException: Back-end (JVM) Internal error: Couldn't resolve class for anvil.module.AppComponentAnvilModule.
File being compiled: (11,1) in /anvil/module/AppComponentAnvilModule.kt
dimsuz
03/01/2022, 4:06 PMmyComponent.createCoordinator()
and the instance is created.
If I switch to non-anvil dagger it starts to work. Do I need to include some additional source set? Currently default from kotlin plugin are usedankushg
03/03/2022, 1:16 AMkotlinx.serialization
to serialize/deserialize an actual class from a String column
I’m trying to determine how to handle changes to the JSON document’s schema (which is just a change in the @Serializable data class
).
In most of those cases, I’d be fine with dropping the old data and repopulating it next time I fetch from the server.
I could write a .sqm
file that drops all rows in the tables containing impacted documents, but I’m foreseeing situations where someone updates the data class without writing a migration. Since the sqlite schema would still just have the row as a String, I’m assuming that SQLDelight’s migration verifications would still pass.
Is there a way to ignore/drop data that doesn’t deserialize properly in my ColumnAdapter
? Should I just be making all of my types nullable?Rak
03/04/2022, 10:15 AMRequestBody
but not sure how to put it all together.brabo-hi
03/06/2022, 7:38 AMcountPlayers:
SELECT count(*) FROM hockeyPlayer WHERE full_name = ?;
players:
SELECT *
FROM hockeyPlayer WHERE full_name = ?
LIMIT :limit OFFSET :offset;
val pagingSource: PagingSource = QueryPagingSource(
countQuery = playerQueries.countPlayers(full_name),
transacter = playerQueries,
dispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
queryProvider = playerQueries.players(full_name), // <---- issue
)
jw
03/11/2022, 2:12 AMjessewilson
03/11/2022, 12:24 PMDrew Heavner
03/16/2022, 2:24 PMRak
03/18/2022, 10:09 AMid("com.google.devtools.ksp").version("1.6.0-1.0.1")
, this led to issues with codegen not working. I found the error message when building on the command line (gradlew build) but NOT when compiling and running my app with the AS. The app crashed at runtime saying the Adapter class could not be found. I found the latest version to use was 1.6.10-1.0.4
and it all worked.ephemient
03/22/2022, 4:09 PMEdwar D Day
03/31/2022, 8:32 AMDATE_ADD
(https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_date-add) in an sql statement with sqldelight, but sqldelight complains '(', ')', '.', <binary like operator real>, BETWEEN or IN expected, got '6'
The used SQL code: date_add(current_date() , interval 6 month)
Am I doing something wrong or is there a workaround for such a case?jw
04/04/2022, 12:13 PMbrabo-hi
04/05/2022, 1:08 PM?
DELETE FROM customer WHERE customer_id = :customerId;
It doesn’t look working for this version but was working on version 1.xSlackbot
04/05/2022, 4:30 PMAndrew O Hart
04/06/2022, 10:54 AMLandry Norris
04/07/2022, 6:58 PM