Merge branch 'develop' into fix/BUDI-7508
This commit is contained in:
commit
81bbc3adf6
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "2.10.12-alpha.23",
|
||||
"version": "2.10.12-alpha.24",
|
||||
"npmClient": "yarn",
|
||||
"packages": [
|
||||
"packages/*"
|
||||
|
|
|
@ -818,7 +818,10 @@ export class ExternalRequest {
|
|||
// can't really use response right now
|
||||
const response = await getDatasourceAndQuery(json)
|
||||
// handle many to many relationships now if we know the ID (could be auto increment)
|
||||
if (operation !== Operation.READ && processed.manyRelationships) {
|
||||
if (
|
||||
operation !== Operation.READ &&
|
||||
processed.manyRelationships?.length > 0
|
||||
) {
|
||||
await this.handleManyRelationships(
|
||||
table._id || "",
|
||||
response[0],
|
||||
|
|
Loading…
Reference in New Issue