Open
Description
When custom metadata tables include references to related metadata (e.g. Entity or Field Definitions), fflib_QueryFactory throws an exception.
FeatureSetDefinition__mdt.ParentObject__r is not a lookup or master-detail field but is used in a cross-object query field.
The field definition for such a reference shows next to nothing of value; SoapType = String, isIdLookup = false, getRelationshipName = null.
Short of avoiding the selector/queryfactory constructs, what are some simple fixes to the above conundrum?