Raman Gupta

Results 330 comments of Raman Gupta

I see Querio already has a response approach to this vertical split when the horizontal width is smaller. Personally, I prefer the design of the smaller horizontal width all the...

My main use case is indeed the `cat` operation. The named inputs are useful when one wants to do interesting things e.g.: ``` pdftk A=foo.pdf B=bar.pdf cat A1-2 B1-2 A3-end...

Possibly related issue: https://youtrack.jetbrains.com/issue/KT-45332

It appears a workaround is to bound the type of `T` using another sealed class hierarchy e.g.: ``` @Serializable sealed class ValueHolder { abstract val value: T? } @Serializable data...

In that case what is the correct way to represent such a structure that is compatible with serialization?

> I think the second example is working by accident When you say "second example" did you mean this is working by accident: 1) `Json.encodeToString(Foo.Bar(true))` or this is working by...

> The way that serialization of a sealed type works is that the parent serializer exposes the serializer for each child type. At the point these serializers are created (for...

Even with my ValueHolder workaround I am running into this error, for which I see multiple related issues and fixes (https://github.com/Kotlin/kotlinx.serialization/issues/1584, https://github.com/Kotlin/kotlinx.serialization/issues/1770, https://github.com/Kotlin/kotlinx.serialization/issues/1646), but no workarounds -- I can't upgrade...

The comments by @christofvanhove at https://github.com/Kotlin/kotlinx.serialization/issues/1252 are helpful.

> Please explain what you mean by "variable substitution for repositories no longer works"? Is it a user code problem or in kscript itself? @aartiPl Substitution of environment variables for...