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

This commit is contained in:
Andrew Kingston 2021-12-10 15:11:01 +00:00
parent dc7d22e5cb
commit 9353aec940
1 changed files with 1 additions and 0 deletions

View File

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