Comments (5)
Thanks for report. It happens for me for both linuxX64ReleaseTest
on Linux machine and macosArm64ReleaseTest
on Apple Silicon machine. Looks like the Native issue though.
from kotlinx.serialization.
Closed in favor of https://youtrack.jetbrains.com/issue/KT-67218/Native-nested-classes-in-kx.serialization-ProtoBuf-produce-empty-array-for-release-binary
from kotlinx.serialization.
just in case: does it make sense additionally run tests in RELEASE
mode (and possibly in other kotlinx.*
libraries), to be proactive with such bugs?
If you think it could be useful, I'm ready to provide PR.
from kotlinx.serialization.
Yes, it makes sense. I'll ask Native team additionally of the best way to do so. We are now refactoring our build scripts (#2654), so you'll have to wait with your PR a little bit :)
from kotlinx.serialization.
okay! Thanks, I will wait for #2654.
At my side I have the following build setup for runnings native tests in release mode. (BTW, this is how I've found this issue)
Created tasks will look like macosArm64ReleaseTest
in addition to macosArm64Test
(same for other targets) and will be automatically registered to run on check
/allTests
(I haven't looked on TC setup, so not sure what is needed there).
from kotlinx.serialization.
Related Issues (20)
- ERROR: org.jetbrains.kotlinx.serialization.compiler.extensions.SerializationResolveExtension caused LinkageError HOT 3
- Allow annotation meta-annotations with Serializable
- Streaming performance: kotlinx-io & Okio integrations
- kotlinx.serialization.json deserialize error HOT 1
- Quoted booleans are being allowed even with `isLenient = false` HOT 6
- very strange serialization HOT 2
- The built-in String type (JsonPrimitive/JsonLiteral) puts double quotes around the string value HOT 8
- Don't check kind if needn't type discriminator for enum and primitive HOT 5
- 2.0.20 with generatedSerializer and reference to interface: SealedClassSerializer init: subclassSerializers contains null HOT 2
- [protobuf] How to encode/decode map with null value?
- Option to serialize enums as lowercase/snake_case HOT 4
- hande single quotes when `isLenient=true` HOT 3
- Support for `serializer<@Contextual T>` HOT 3
- Not a Bug But missing step in the Documentation when working with KMP HOT 1
- "Serializer for class List is not found" on Native. HOT 2
- [FEATURE] Allow defining a sealed class as a subclass of an open polymorphic class HOT 2
- @file:UseContextualSerialization doesn't work on Kotlin 2.0.20-RC2 HOT 1
- CBOR/COSE: support sorting of keys
- Deserializing, Transitient field use default value instead of the values from subclass constructor
- Implement additional extension serializers for frequently utilized data types in web requests. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlinx.serialization.