javascript
Optional chaining as an accidental deny
p.chains?.includes(name) dropped every plugin that omitted chains. Optional chaining in a filter is an accidental deny; default with ?? instead.
Read the entry →3 entries tagged “plugins”.
p.chains?.includes(name) dropped every plugin that omitted chains. Optional chaining in a filter is an accidental deny; default with ?? instead.
Read the entry →How to write a GitProxy plugin: a complete diff-scanning example, how to pick the right chain phase, and why a plugin can load and still never run.
Read the entry →How to design a plugin system: named phases instead of positions, deny-by-default placement, and the defaults that must live outside your constructor.
Read the entry →