https://github.com/umbraco/Umbraco-CMS/pull/14127/...
# contributing
s
https://github.com/umbraco/Umbraco-CMS/pull/14127/files#diff-5bb832dd74ce73468a401aa0fe07a57147eb6ab6b1b535102c733ffa5448d551R28 Changing the signature of a public method on a public class is a breaking change and that makes the build fail. 🙂 So.. add another constructor, redirect the current ctor to the new one with the added parameter, obsolete the old constructor and try again. How? Make a constructor with the old signature and leave the body empty, redirect with
: this(new constructor args)
and mark it as
[Obsolete("This constructor is obsolete and will be removed in v13. Use the constructor with XYZ instead.")]
. (XYZ in this case is
parentId
).