We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42adde0 commit 4bf2e25Copy full SHA for 4bf2e25
packages/server/src/api/rest/index.ts
@@ -1178,6 +1178,11 @@ class RequestHandler extends APIHandlerBase {
1178
//#region utilities
1179
private getIdFields(modelMeta: ModelMeta, model: string): FieldInfo[] {
1180
const modelLower = lowerCaseFirst(model);
1181
+
1182
+ if (this.typeMap && modelLower in this.typeMap) {
1183
+ return this.typeMap[modelLower].idFields;
1184
+ }
1185
1186
if (!(modelLower in this.externalIdMapping)) {
1187
return getIdFields(modelMeta, model);
1188
}
0 commit comments