fis(orchestration): Properly handle select all (#6742)
**What** Fix select `*` without breaking select none `[]`
This commit is contained in:
@@ -45,6 +45,7 @@ export class RemoteJoiner {
|
||||
let filteredData: Record<string, unknown> = {}
|
||||
|
||||
if (fields.includes("*")) {
|
||||
// select all fields
|
||||
filteredData = data
|
||||
} else {
|
||||
filteredData = fields.reduce((acc: any, field: string) => {
|
||||
|
||||
Reference in New Issue
Block a user