Skip to content

Conversation

@mmoor-cio
Copy link
Contributor

Fixes #65

marviu and others added 3 commits November 13, 2025 12:10
  Replace simple key:value pair parsing with proper YAML unmarshaling
  to support OPA's standard METADATA format including:
  - Multi-line descriptions with pipe (|) operators
  - Nested custom fields structure to replicate what was there before
  - Trim whitespace from package name to handle CRLF line endings
  - Continue loop after metadata block ends instead of breaking early
    to support empty lines between metadata and package declaration
@xiwenc xiwenc merged commit 88aaf8f into mxlint:main Nov 19, 2025
6 of 7 checks passed
@xiwenc
Copy link
Member

xiwenc commented Nov 19, 2025

Thanks Marvin for your contribution!

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.

Rego metadata parsing doesn't support YAML / multi-line descriptions

3 participants