Skip to content

Comments

Add module readmes to json output#2500

Merged
Gerrit0 merged 2 commits intoTypeStrong:masterfrom
JMBeresford:master
Feb 11, 2024
Merged

Add module readmes to json output#2500
Gerrit0 merged 2 commits intoTypeStrong:masterfrom
JMBeresford:master

Conversation

@JMBeresford
Copy link
Contributor

Resolves #2499

--

This change attempts to fix the above by mimicking the behavior of the ProjectReflection json serialization, which properly outputs the json readme property.

I skimmed through the test suites, but could not find a good place to integrate a test for this at a glance. Let me know which existing tests should be updated (if needed) and where new test logic should be implemented and I'll dig into it, assuming this change in behavior is acceptable.

Copy link
Collaborator

@Gerrit0 Gerrit0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine merging this without a test update -- I don't have a good way to test packages mode as thoroughly as I'd like yet.

Copy link
Collaborator

@Gerrit0 Gerrit0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

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.

Module DeclarationReflections are missing readme property in --json output with --entryPointStrategy=packages

2 participants