mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 06:36:55 +01:00
Improve partner onboarding and documentation navigation (#174)
Lead with a complete plugin quick start and add task-oriented usage, troubleshooting, customization, and contribution guides. Preserve the broader plugin framing, correct conflicting contract guidance, support Agents folder reviews, and align repository validation. Convert existing sample references to clickable links without changing knowledge rules. Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a21edfec46
commit
2b5550c346
276 changed files with 1287 additions and 756 deletions
|
|
@ -17,10 +17,10 @@ A `Get` (or any other database call) executed before a guard that may exit the p
|
|||
|
||||
Read the procedure top-to-bottom and place every condition that can short-circuit ahead of every database call. The check `if SomeNo = '' then exit;` belongs above `Header.Get(...)`, not below. Each guard moved upward saves one wasted query on the path that exits.
|
||||
|
||||
See sample: `apply-guards-before-get.good.al`.
|
||||
See sample: [`apply-guards-before-get.good.al`](apply-guards-before-get.good.al).
|
||||
|
||||
## Anti Pattern
|
||||
|
||||
`Record.Get(...)` at the top of a procedure followed by `if SomeField = '' then exit;`. The code reads top-down as "load the record, then decide whether we needed it" — exactly the order that wastes the query. The pattern is easy to introduce when guards are added later, defensively, without re-checking call ordering.
|
||||
|
||||
See sample: `apply-guards-before-get.bad.al`.
|
||||
See sample: [`apply-guards-before-get.bad.al`](apply-guards-before-get.bad.al).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue