fis(orchestration): Properly handle select all (#6742)
**What** Fix select `*` without breaking select none `[]`
This commit is contained in:
1 parent
05e857d256
commit
06f22bb48a
4 files changed
+62
-21
No files matched your search
@@ -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