Skip to content

Re-order the arguments list for onSetup

Denys Mishunov requested to merge 292943-se-onsetup-arguments into master

What does this MR do and why?

Simple re-ordering of the arguments passed to the onSetup callback of the Source Editor extensions. The reason: we always pass down the instance, while setupOptions might be undefined. Hence this refactoring to avoid passing null or undefined as the default first argument to onSetup where no setupOptions are expected.

Screenshots or screen recordings

No visual or functional changes

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #292943 (closed)

Merge request reports

Loading