cph-cachet / carp.core-kotlin

Infrastructure-agnostic framework for distributed data collection.
https://carp.cachet.dk/core/
MIT License
21 stars 3 forks source link

Failing test for serializing "unknown types" on JS release #472

Closed jakdan99 closed 7 months ago

jakdan99 commented 7 months ago

Using the typescript declarations, encoding a StudyProtocolSnapshot which has an unknown type throws: IllegalStateException: Could not find a matching field for "polymorphicDiscriminator" on the JavaScript runtime.

Repro steps: New test in ./typescript-declarations/tests/carp-protocol-test.ts

Whathecode commented 7 months ago

Replaced by #474 which will include a fix.