Skip to content

docs(AC0035): add rule page for RestClientInitializeWithHttpClientHandler - #194

Open
Arthurvdv wants to merge 1 commit into
mainfrom
docs/ac0035-rest-client-initialize-with-http-client-handler
Open

Arthurvdv wants to merge 1 commit into
mainfrom
docs/ac0035-rest-client-initialize-with-http-client-handler

Conversation

@Arthurvdv

Copy link
Copy Markdown
Member

Summary

Adds the rule page for AC0035 RestClientInitializeWithHttpClientHandler (Rule 2 of ALCops/Analyzers#405): a Codeunit "Rest Client" variable that is initialized without a custom "Http Client Handler", with the System Application's default handler codeunit, or used without initialization. Companion to ALCops/Analyzers#571.

  • content/docs/analyzers/ApplicationCop/AC0035.md: background, reported example (Initialize() on the default handler), fixed example reusing the AC0033 handler codeunit, the library pattern (handler received as an interface parameter is accepted), "When the diagnostic is reported", "Exception" (the cases the analyzer deliberately stays silent on, plus a #pragma example) and "See also".
  • _index.md: AC0035 row.
  • AC0033.md: one sentence linking to AC0035 for the per-variable check.

Built with hugo --minify (no warnings); hl_lines verified against the rendered HTML; all external links return 200.

🤖 Generated with Claude Code

…dler

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.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