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 f183409 commit edd226bCopy full SHA for edd226b
packages/core/src/collection.ts
@@ -195,9 +195,6 @@ export function resolveCollectionOppositeRelations(collections: ResolvedCollecti
195
collection.oppositeRelations = {}
196
const indexes = new Map<string, string[]>()
197
for (const otherCollection of collections) {
198
- if (otherCollection.name === collection.name) {
199
- continue
200
- }
201
for (const relationKey in otherCollection.normalizedRelations) {
202
const relation = otherCollection.normalizedRelations[relationKey]!
203
for (const target of relation.to) {
0 commit comments