Browse Source

Ensure JSON schema generated in client apps is identical to builder generated schema

master
Andrew Kingston 5 years ago
parent
commit
9353aec940
  1. 1
      packages/client/src/api/datasources.js

1
packages/client/src/api/datasources.js

@ -118,6 +118,7 @@ export const fetchDatasourceSchema = async dataSource => {
Object.keys(jsonSchema).forEach(jsonKey => {
jsonAdditions[`${fieldKey}.${jsonKey}`] = {
type: jsonSchema[jsonKey].type,
nestedJSON: true,
}
})
}

Loading…
Cancel
Save