Skip to content

Fix JSON serialization for Result-derived classes#642

Open
felickz wants to merge 1 commit intomicrosoft:mainfrom
forks-felickz:main
Open

Fix JSON serialization for Result-derived classes#642
felickz wants to merge 1 commit intomicrosoft:mainfrom
forks-felickz:main

Conversation

@felickz
Copy link

@felickz felickz commented Feb 18, 2026

* Initial plan

* Initial investigation of exporttags JSON bug

Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>

* Fix exporttags JSON output bug by using runtime type for serialization

Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>

* Improve test to exercise actual JsonWriter code path

- Modified ExportJsonSerialization test to use JsonWriter.WriteResults
- Added InternalsVisibleTo attribute to expose JsonWriter to tests
- Test now validates production code path instead of direct serialization

Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>

* Revert nuget.config to use Azure DevOps feed

Per repo guidance, nuget.config changes should not be checked in.
Reverting to original Azure DevOps feed configuration.

Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: exporttags with --output-file-format json outputs only appVersion, no tags

2 participants

Comments