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 5ee336c commit f0cf9c9Copy full SHA for f0cf9c9
packages/compass-data-modeling/src/utils/nodes-and-edges.ts
@@ -208,7 +208,7 @@ export function relationshipToDiagramEdge(
208
source: source.ns ?? '',
209
target: target.ns ?? '',
210
sourceFieldId: source.fields || [],
211
- targetFieldId: target.fields || [],
+ targetFieldId: target.fields ?? [],
212
markerStart: source.cardinality === 1 ? 'one' : 'many',
213
markerEnd: target.cardinality === 1 ? 'one' : 'many',
214
selected,
0 commit comments