[main] GitHub Event Requests - Batch #1740#8943
Conversation
Three integration events in CalculateRoutingLine.Codeunit.al convert existing by-value parameters to var: OnCreateLoadForwardOnBeforeEndStopLoop (TimeType, LoadFactor, CurrentWorkCenterNo), OnBeforeCreateLoadBack (TimeType, Write, CurrentWorkCenterNo), and OnBeforeCreateLoadForward (TimeType, Write, LoadFactor, CurrentWorkCenterNo).Converting a parameter from value to var in an existing [IntegrationEvent] is a breaking API change: any extension that currently subscribes to these events must update its subscriber signature or will fail to compile. This is qualitatively different from adding new parameters at the end (also breaking, but a well-established BC platform pattern that is consistent across this PR); value-to-var conversion changes the subscriber binding contract mid-signature and is easier to miss during extension migration. Additionally, making these parameters var gives subscribers influence over routing calculation inputs (time type, load factor, work center) that the publisher reads back after firing, which expands the extension surface in a way that may not be intended. Recommendation:
Line mapping was unavailable, so this was posted as an issue comment. 👍 useful · ❤️ especially valuable · 👎 wrong - reply with why |
Copilot PR ReviewIteration 1 · Outcome: completed Knowledge source: https://github.com/microsoft/BCQuality@822cae1b2771ac25f665f73369f69093bd4fd630 Findings by domainFindings split into Knowledge-backed (cite a BCQuality article) and Agent (the agent's own judgement, no matching BCQuality rule).
Totals: 0 knowledge-backed · 1 agent findings. Orchestrator pre-filter (13 file(s) excluded)
Findings produced by the Copilot CLI agent against BCQuality at |
What & why
GitHub extensibility issues
microsoft/ALAppExtensions#30287
microsoft/ALAppExtensions#30286
microsoft/ALAppExtensions#30282
microsoft/ALAppExtensions#30278
microsoft/ALAppExtensions#30274
microsoft/ALAppExtensions#30273
microsoft/ALAppExtensions#30272
microsoft/ALAppExtensions#30268
Linked work
Fixes AB#640855
Fixes AB#640399
Fixes AB#639007
Fixes AB#639725
Fixes AB#639005
Fixes AB#638833
Fixes AB#639866
Fixes AB#639952