itwinjs-core
itwinjs-core copied to clipboard
ExternalSourceAspect.scope should be RelatedElement | undefined
Describe the bug
In ExternalSourceAspect class scope is always defined, but real iModels sometimes external source aspects may have it as undefined
Expected behavior
ExternalSourceAspect.scope should have type of RelatedElement | undefined
@simsta6, whats the severity of this issue? Do you need a fix for this now, or is this something that can wait until 5.0. Due to this being a breaking change, if this were to be done now it would require implementing a new scope property and deprecating the old one (or something similar), but I cannot directly change scope to optional in 4.x.x