Repository navigation
feat(native-codegen): decode enum values and union arms a client doesn't know - #1481
Conversation
|
e8ff32e to
1ccb7ef
Compare
1ccb7ef to
ba71363
Compare
ba71363 to
8cff350
Compare
mattcreaser
left a comment
There was a problem hiding this comment.
Let's strip the comments added to generated code, they don't add anything of value
|
Done in 52e12f5: the generators no longer emit the comments this PR added (Dart, Swift and Kotlin), and the goldens are regenerated. Comments that main already generated (file headers, entry-point docs, the existing union serializer KDoc) are unchanged. 41a7981 also moves the Dart CHANGELOG entries under |
…nknown-enum-values
Native codegen decodes enum values and string-discriminated union arms a client does not know into an unknown case that keeps the raw value, instead of failing to decode. Dart, Swift and Kotlin, with fixture 45.