Cies Breijs

Results 113 comments of Cies Breijs

Also when deserializing I now do the very verbose: ```kotlin object ProductIdSerializer : KSerializer { override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("ProductId", PrimitiveKind.LONG) override fun serialize(encoder: Encoder, value: ProductId) = encoder.encodeLong(value.value)...

It seems that kotlinx.serialization handles this well (at least with JSON it does): ```kotlin import kotlinx.serialization.Serializable import kotlinx.serialization.json.Json @JvmInline @Serializable value class ProductId(val value: Long) @Serializable data class ProductDto( val...

I'm interested in this as well...

Hmmm... Interesting. I'm working on a [JVM-based web dev stack based on http4](https://github.com/cies/supabase-http4k-terpal-ssr-example). Wrt db sessions/transaction there are 2-ways to do it: 1. Every request (that needs to access the...

I made this: But I'm not sure if I not rather have `.firstOrNull()`s at the call-sites.

Depends on #821

breaks test, some of them being: ![image](https://github.com/intellij-elm/intellij-elm/assets/8694/7588287f-4dad-435e-a7e3-21379522930c)

This, in its current shape, introduces some test failures.

I've tried to implement this in a fork I made: https://github.com/cies/graphql-kotlin Not all tests currently pass, but it seems doable.

I've published the example project here: https://github.com/cies/kotlin-graphql-example (simply change the URL in the `graphql.config.yml` file)