Skip to content

Compress MgCommandMetadata.json to reduce whitespace/package size #3346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

sean-r-williams
Copy link

Fixes #3345.

Changes proposed in this pull request

Adds -Compress to ConvertTo-Json calls in post-generation tools:

  • AuthModuleMetadata
  • NewCommandMetadata

This JSON file has nearly 6MB of unnecessary whitespace, constituting about 13.9% of the module's unpacked size.

Certainly welcome to feedback on this PR - these files don't appear to be getting auto-updated by CI, and I was looking for specifically the MgCommandMetadata.json filename. I'm not sure if there are other AutoREST directives/generator tools that need updating as well.

@sean-r-williams sean-r-williams requested a review from a team as a code owner June 18, 2025 02:06
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.

Microsoft.Graph.Authentication: 5+ MB of whitespace in MgCommandMetadata.json
1 participant