Fix queryUtils tests.
This commit is contained in:
parent
b5886a7d9b
commit
da8c5be685
|
@ -126,5 +126,5 @@ export const getQueryableFields = async (
|
||||||
}
|
}
|
||||||
result.push(...(await extractTableFields(table, fields, [table._id!])))
|
result.push(...(await extractTableFields(table, fields, [table._id!])))
|
||||||
|
|
||||||
return result
|
return Array.from(new Set(result))
|
||||||
}
|
}
|
||||||
|
|
|
@ -425,9 +425,7 @@ describe("query utils", () => {
|
||||||
|
|
||||||
// aux2_2 primitive props
|
// aux2_2 primitive props
|
||||||
"aux2_2._id",
|
"aux2_2._id",
|
||||||
"aux2Table._id",
|
|
||||||
"aux2_2.title",
|
"aux2_2.title",
|
||||||
"aux2Table.title",
|
|
||||||
|
|
||||||
// table primitive props
|
// table primitive props
|
||||||
"table._id",
|
"table._id",
|
||||||
|
@ -453,9 +451,7 @@ describe("query utils", () => {
|
||||||
|
|
||||||
// aux1_2 primitive props
|
// aux1_2 primitive props
|
||||||
"aux1_2._id",
|
"aux1_2._id",
|
||||||
"aux1Table._id",
|
|
||||||
"aux1_2.name",
|
"aux1_2.name",
|
||||||
"aux1Table.name",
|
|
||||||
|
|
||||||
// table primitive props
|
// table primitive props
|
||||||
"table._id",
|
"table._id",
|
||||||
|
|
Loading…
Reference in New Issue