fix: query view collection with primaryKey (#3104)
This commit is contained in:
parent
0cf045d142
commit
9ed6993130
@ -307,7 +307,7 @@ export class Collection<
|
||||
`source field "${sourceFieldName}" not found for field "${name}" at collection "${this.name}"`,
|
||||
);
|
||||
} else {
|
||||
options = { ...lodash.omit(sourceField.options, 'name'), ...options };
|
||||
options = { ...lodash.omit(sourceField.options, ['name', 'primaryKey']), ...options };
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user