Skip to content

docs(AC0002): document setup-table exemption - #199

Merged
Arthurvdv merged 1 commit into
mainfrom
docs/ac0002-setup-tables
Oct 7, 2026
Merged

Arthurvdv merged 1 commit into
mainfrom
docs/ac0002-setup-tables

Conversation

@Arthurvdv

@Arthurvdv Arthurvdv commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Documents the AC0002 setup-table exemption from ALCops/Analyzers#575.

  • New ### Exception section on the AC0002 page. Setup tables are not reported because their single record always has a blank key and no other table relates to it, so a rename or delete has nothing to cascade to.
  • It says how the rule recognises a setup table: by convention (a sole Code primary key field named Primary Key/PrimaryKey, or a parameterless GetRecordOnce procedure), not by checking inbound relations. It includes an example.
  • It lists what is still reported (a Text Primary Key, or a key named PK/Code without GetRecordOnce) and says how to opt out with an explicit NotBlank = false.

Hugo build with --panicOnWarning passes.

Companion to ALCops/Analyzers#579.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Arthurvdv
Arthurvdv merged commit 115a47f into main Oct 7, 2026
1 check passed
@Arthurvdv
Arthurvdv deleted the docs/ac0002-setup-tables branch October 7, 2026 19:46
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