hierarchies
: Support fully merged iModel hierarchy providers
#844
Labels
hierarchies
: Support fully merged iModel hierarchy providers
#844
At the moment we support merged hierarchy providers, but iModel-based providers won't merge with each other, e.g. see the following:
Instead, we'd like to see this:
This kind of merged hierarchy could only be built under assumption that given iModels are related and their schema items match if their names match.
Issues:
Hierarchy level filtering.
At the moment, the filter is passed in the form of
GenericInstanceFilter
, which has no notion of an iModel, but it uses schema items. Even if the iModels are related (e.g. different versions of the same iModel), there could be new schema items added to newer versions of the iModel, so we may receive schema items that are supported in one of the merged iModels, but not the other. What do we do with that?Several ideas:
HierarchyProvider
interface.GenericInstanceFilter
API, add a way to tell which iModel(s) filter rules apply to.GenericInstanceFilter
to ECSQL, check each given filter rule against the target iModel and ❓skip it❓ if the schema item used in that rule doesn't exist.The text was updated successfully, but these errors were encountered: