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 7ed01c0 commit 5cb3dc4Copy full SHA for 5cb3dc4
src/schema/associations.ts
@@ -172,7 +172,7 @@ export async function buildAssociations(
172
if (!Array.isArray(file)) {
173
file = [file]
174
}
175
- associations[key as keyof Associations] = await load(file, options)
+ associations[key as keyof Associations] = await load(file, options).catch((e: any) => {})
176
} else {
177
const load = associationLookup[key] ?? defaultAssociation
178
if (Array.isArray(file)) {
0 commit comments