1
0
Fork 0
mirror of synced 2024-06-29 03:20:34 +12:00

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 5793cc3bbd
commit 6fd53b134a

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,
}
})
}