You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by "chaokunyang (via GitHub)" <gi...@apache.org> on 2026/09/12 15:55:40 UTC
[PR] fix(android): align Kotlin JSON inclusion assertions [fory]
chaokunyang opened a new pull request, #4041:
URL: https://github.com/apache/fory/pull/4041
After #4040, the Android metadata scenario still expected `label = null` to survive a round trip with default inclusion. The writer now correctly omits that property, and the reader restores its `"android-default"` constructor default, causing both Android API 26 and API 36 CI to fail.
Update the scenario to assert omission and default restoration, then explicitly enable `writeNullFields(true)` and verify the null-preserving round trip. Cover both String and UTF-8 output/input while retaining the existing metadata, default-mask, singleton, and shared-corpus checks.
Validation is delegated to CI as requested; the local test run was stopped before completion.
Fixes the [Android CI failure](https://github.com/apache/fory/actions/runs/34702925778/job/103577771632).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
Re: [PR] fix(android): align Kotlin JSON inclusion assertions [fory]
Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang merged PR #4041:
URL: https://github.com/apache/fory/pull/4041
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org