Resolving Compile Error: Required class relationships must be maintained
I recently stumbled upon this error while making an update to an Apex class in one of my managed packages.
I was quite baffled by this because my change was minor logic within an existing method. I had not changed which interfaces were being implemented or extended and the constructors were all the same.
Read my full blog post where I show how the Winter '18 Apex Compiler Changes were the root of my issue and how I fixed it by explicitly using the System namespace.
###
I’m a Salesforce Developer and Technical Leader. Learn more about my passion for Salesforce.com solutions @DouglasCAyers and douglascayers.com.
Aaron Slettehaugh a great post for your team
I am hoping it doesn't impact any managed package code...