Deprecate direct access to queryInterface
The following discussion from !1766 (merged) should be addressed:
-
@clemenci started a discussion: (+1 comment) Direct access to
queryInterface
might lead to incorrect count of references. We should deprecate it and enforce that components are only accessed via SmartIF, ServiceHandle or references.