lwc-utils icon indicating copy to clipboard operation
lwc-utils copied to clipboard

flattenQueryResult tiny enhancement

Open mtchevalier opened this issue 1 year ago • 0 comments

tableServiceUtils.js line 41 let preAppend = propIsNumber ? ${propName}_ : '';

if the underscore near the end is changed to a period, then the flattenQueryResult method will work seamlessly with imported field references.

import CLAIMAINT_FIELD from '@salesforce/schema/Claim__c.Contact__r.Name';

mtchevalier avatar Apr 27 '23 17:04 mtchevalier