Skip to content
#

kotlin-multiplatform

Here are 295 public repositories matching this topic...

North101
North101 commented Mar 4, 2019

It would be nice to be able to cast SELECT statements and params to kotlin classes.

CREATE TABLE my_table (
  maybe_int INTEGER AS Int
);

selectExample:
SELECT COALESCE(maybe_int, 0)
FROM table;

Currently this will return a Long despite it being cast as an Int in the table creation.

For syntax, we probably shouldn't use the CREATE TABLE column syntax (otherwise it'll look l

IRus
IRus commented Dec 6, 2019

Use case:

class MetricsServiceProvider(
    private val configuration: Configuration,
    private val shutdownManager: ShutdownManager
) : Provider<MetricsService> {
    ovveride fun get(): MetricsService {
        //.. code that initializes and setups MetricsService
    }
}

I moved service initialization in class with dependencies, I'd like to do something like this:

atrium
robstoll
robstoll commented Apr 28, 2020

Platform (jvm, js, android): jvm
Extension (none, kotlin 1.3, jdk8): jdk8

Code related feature

expect(ZonedDateTime.now()).isAfter("2020-04-28T12:00Z")

//instead of

expect(ZonedDateTime.now()).isAfter(ZonedDateTime.of(2020,4,28,12,0,0,0, ZoneId.of("Z")))

Following the things you need to do:

domain-robstoll-lib:

  • duplicate each method in chronoZonedDateTime
moko-widgets
Gamadril
Gamadril commented Mar 23, 2020

I know moko-widgets is still experimental, but it would be nice to see at least basic documentation with the description of the available elements and configuration options. The mandatory size parameter is not always clear to apply. An overview would be nice. Also a description about constraints would be helpful.
As far as I can see from the examples, constraints must be at the end of the conta

Improve this page

Add a description, image, and links to the kotlin-multiplatform topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the kotlin-multiplatform topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.