Offline Symbol Table - Recognize Custom Metadata Relationship Fields

Issue #989 new
Tyler Mowbrey created an issue

When utilizing additional entity relationships within a Custom Metadata Type, you can reference relationship fields such as QualifiedAPIName. The metadata field when accessing the relationship shows as an invalid field.

Consider the following example: Custom Metadata Type: UI_Interaction__mdt Field 1: My_UI_Object_Relationship___c Field 2: My_UI_Field_Relationship___c

Valid according to the symbol table: UI_Interaction__mdt.My_UI_Field_Relationship__c Invalid according to the symbol table: UI_Interaction__mdt.My_UI_Field_Relationship__r.QualifiedAPIName

Comments (8)

  1. Phil Weighill-Smith

    I note that the Metadata Relationship is represented in the OST as just a String "__c" field and no equivalent "__r" field is created.

  2. Scott Wells repo owner

    I'll look into this as well. Evidently something isn't being rendered into the OST properly here, so it should be pretty easy to address. Assuming that's the case, sorry this has languished for so long. I guess it just slipped under my radar.

  3. Justin Julicher

    @RoseSilverSoftware Looks like this slipped under your radar again?

    Any chance of getting this resolved?

  4. Scott Wells repo owner

    Yeah, my radar is a bit scrambled right now. Let me wrap up what I'm doing now and then I'll take a look at this. I'll let you know what I need from you, if anything.

  5. Log in to comment