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 7404e79 commit fcbc626Copy full SHA for fcbc626
src/generators/relations.ts
@@ -124,7 +124,7 @@ export function stringifyRelationsInputCreate(
124
typeboxIdType = "Integer";
125
break;
126
default:
127
- throw new Error("Unsupported id type");
+ throw new Error(`Unsupported ID type: ${field.type} on model ${data.name} in relation ${field.name}`);
128
}
129
130
let connectString = `${getConfig().typeboxImportVariableName}.Object({
@@ -215,7 +215,7 @@ export function stringifyRelationsInputUpdate(
215
216
217
218
219
220
221
let stringifiedType: string;
0 commit comments