mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 18:05:45 +00:00
fix(graphs): separate source identities from display representations
Validation: integrated changes passed formatting, typecheck, lint, resolved module-boundary verification and git diff --check. Tests and real-provider workflows were not run.
This commit is contained in:
1 parent
2ca3ad2386
commit
a6f76f5da9
9 files changed
+156
-70
No files matched your search
@@ -103,7 +103,12 @@ const nativeExportNodes = (
|
||||
const requestedExports = (nodes: readonly ApplicationNode[]): string[] => {
|
||||
const values = nodes.flatMap((node) =>
|
||||
node.observations.flatMap((observation) => [
|
||||
...(observation.label === null ? [] : [observation.label]),
|
||||
// Display labels can summarize several names or namespace access.
|
||||
// Only legacy observations without structured member facts need them.
|
||||
...(observation.label === null ||
|
||||
Array.isArray(observation.properties.requested_members)
|
||||
? []
|
||||
: [observation.label]),
|
||||
...stringArray(observation.properties.requested_members),
|
||||
...stringArray(observation.properties.members),
|
||||
]),
|
||||
|
||||
Reference in new issue
Block a user