Skip to content

Remove redundant @ prefix checks already enforced by JSON schema#21

Open
magicmark wants to merge 5 commits intographql:mainfrom
magicmark:simplify-validate-structure
Open

Remove redundant @ prefix checks already enforced by JSON schema#21
magicmark wants to merge 5 commits intographql:mainfrom
magicmark:simplify-validate-structure

Conversation

@magicmark
Copy link
Copy Markdown
Contributor

@magicmark magicmark commented May 5, 2026

  • Remove explicit startsWith("@") validation - this is already enforced in metadata.schema.json
  • Update CONTRIBUTING.md to reflect that CODEOWNERS is now automatically generated

magicmark and others added 3 commits May 5, 2026 12:41
The `startsWith("@")` checks for `githubUsername` and `sponsor` in
validate-structure.js duplicate the `"pattern": "^@"` constraint already
defined in metadata.schema.json. The schema validation (via ajv) runs
first and catches these, making the manual checks dead code.

Also update CONTRIBUTING.md to reflect that CODEOWNERS is now
automatically synced from metadata.yml (via sync-codeowners workflow).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This is handled automatically by the sync-codeowners workflow.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@magicmark magicmark requested review from benjie and martinbonnin May 5, 2026 17:48
@magicmark magicmark marked this pull request as ready for review May 5, 2026 17:48
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.

1 participant