getRelationFields static method
dynamic
getRelationFields(
- dynamic relations
Implementation
static getRelationFields(relations) {
return relations.map((relation) {
// return `${relation.resourceName}[${[
// ...relation.fields,
// ...getRelationFields(relation.relations),
// ].join(',')}]`;
});
}