Hello. When I’m using it without nested objects, it works well. It shows columns.
const oldConfig: SQLConfig = {
defaultSchema: 'old_schema',
defaultTable: 'old_table',
schema: { 'old_schema.old_table': ['old_col_1', 'old_col_2', 'old_col_3'] },
};
But when I test it with nested objects, it doesn’t show columns.
const oldConfig: SQLConfig = {
defaultSchema: "new_schema",
defaultTable: "new_table",
schema: {
new_schema: {
self: {
type: "db",
label: "new_schema"
},
children: {
new_table: {
self: {
type: "table",
label: "new_table"
},
children: [
{
type: "column",
label: "new_col_1"
},
{
type: "column",
label: "new_col_2"
},
{
type: "column",
label: "new_col_3"
}
]
}
}
}
}
};