hfhbd01/31/2022, 1:22 PM
, the attribute
is not found.
Humphrey01/31/2022, 5:24 PM
. 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?
spierce702/01/2022, 8:25 PM
Benoit Quenaudon02/04/2022, 1:42 AM
spierce702/04/2022, 2:22 AM
james02/10/2022, 12:33 AM
Benoit Quenaudon02/14/2022, 10:06 PM
Vivek Modi02/15/2022, 10:54 AM
1. How to pause uploading the file through server as well. 2. How to cancel uploading the file.
Colton Idle02/16/2022, 2:26 AM
Didn't work as an application interceptor. Going to give network interceptor a whirl
val request = chain.request().newBuilder().removeHeader("If-None-Match").build()
dimsuz02/24/2022, 2:19 PM
in Anvil's sample. I wonder will dagger differentiate
during code generation (and after) as different scopes? JSR docs seem to mention that
-ed annotations shouldn't have attributes, so I thought does this mean dagger will look only at annotation name?
dimsuz02/24/2022, 2:42 PM
e: 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?
dimsuz02/25/2022, 1:56 PM
, 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
in the Module.
Dorit Rein02/25/2022, 9:29 PM
Spikey Sanju02/26/2022, 8:57 AM
Todo notes app are not persisting data when I install My
Desktop Compose App
file on my
? But everything works fine on my dev machine.
dave0802/27/2022, 4:26 PM
com.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
dimsuz03/01/2022, 4:06 PM
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 used
ankushg03/03/2022, 1:16 AM
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
). 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
@Serializable data class
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
? Should I just be making all of my types nullable?
Rak03/04/2022, 10:15 AM
but not sure how to put it all together.
brabo-hi03/06/2022, 7:38 AM
countPlayers: 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 )
jw03/11/2022, 2:12 AM
jessewilson03/11/2022, 12:24 PM
Drew Heavner03/16/2022, 2:24 PM
Rak03/18/2022, 10:09 AM
, 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
and it all worked.
ephemient03/22/2022, 4:09 PM
Edwar D Day03/31/2022, 8:32 AM
(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
The used SQL code:
'(', ')', '.', <binary like operator real>, BETWEEN or IN expected, got '6'
Am I doing something wrong or is there a workaround for such a case?
date_add(current_date() , interval 6 month)
jw04/04/2022, 12:13 PM
brabo-hi04/05/2022, 1:08 PM
It doesn’t look working for this version but was working on version 1.x
DELETE FROM customer WHERE customer_id = :customerId;
Slackbot04/05/2022, 4:30 PM
Andrew O Hart04/06/2022, 10:54 AM
Landry Norris04/07/2022, 6:58 PM