Closed grigasp closed 5 months ago
This happens because we attempt to filter the hierarchy based on a very large number of instance keys. There's a similar situation if you try to filter a string that's contained in many node labels, e.g. "a".
IMO, the solution is to prohibit filtering the hierarchy by more than 100 number of instance keys.
LIMIT 101
to avoid querying too much unnecessarily.
http://localhost:3000/?iTwinId=b391ba44-add7-47a0-8375-f2889a3540e8&iModelId=ba504f88-a479-4156-9d81-658ee169588e
Result: