Skip to content

docs: Document PC0040 and PC0041 TryFunction writes - #213

Open
tkroes wants to merge 1 commit into
ALCops:mainfrom
tkroes:docs/pc0040-pc0041-tryfunction-database-write
Open

tkroes wants to merge 1 commit into
ALCops:mainfrom
tkroes:docs/pc0040-pc0041-tryfunction-database-write

Conversation

@tkroes

@tkroes tkroes commented Nov 2, 2026

Copy link
Copy Markdown

Summary

Adds documentation for the TryFunction database-write diagnostics introduced in ALCops/Analyzers#590.

  • Adds the PC0040 page for direct writes to persistent records, including the rollback behavior, examples, and deliberate non-reports.
  • Adds the opt-in PC0041 page for potential writes, including ruleset enablement and safe-call suppression.
  • Adds both rules to the PlatformCop index.

Validation

  • Markdown lint passed for both pages and the index.
  • The Hugo build was not run locally because Hugo is unavailable; the PR build workflow runs Hugo, HTML/link checks, and Markdown lint.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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