Browse Source

fix: Graphql ignore copying nested props

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/473/head
Pranav C 3 years ago
parent
commit
47ae9b8977
  1. 6
      packages/nocodb/src/lib/noco/gql/GqlApiBuilder.ts

6
packages/nocodb/src/lib/noco/gql/GqlApiBuilder.ts

@ -57,7 +57,11 @@ const IGNORE_TABLES = [
// Base class of GQL type
class XCType {
constructor(o) {
Object.assign(this, o)
for (const k in o) {
if (!this[k]) {
this[k] = o[k]
}
}
}
}

Loading…
Cancel
Save