itwinjs-core icon indicating copy to clipboard operation
itwinjs-core copied to clipboard

ExternalSourceAspect.scope should be RelatedElement | undefined

Open simsta6 opened this issue 2 years ago • 1 comments

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 avatar Jun 02 '23 10:06 simsta6

@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

DanRod1999 avatar Sep 06 '23 16:09 DanRod1999