The dynamic extension for topology data model factory does not accept a function in it's resources prop to get the list of objects to watch, but requires the objects directly.
This is different from the previous console extension functionality which required a function.
Having a function would help in providing resources with namespace context, and for fetching objects whose types need to be determined at runtime.