You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Neo4j :Artifact node has no source and other key fields that the JSON has #81
Describe the bug --emit neo4j writes only id, path and format on :Artifact. The JSON has more facts for the same artifact: roles, size_bytes, sha256, extraction and, with --artifact-text, source. The graph does not have them.
:Artifact is a shared, un-prefixed node. codeanalyzer-python and codeanalyzer-typescript write all of these properties on it but codeanalyzer-go does not.
To Reproduce
Steps to reproduce the behavior:
Run cango -i . -o out --emit neo4j --artifact-text.
Look at the :Artifact row in out/graph.cypher.
Expected behavior
The :Artifact row has the same properties as the JSON artifact: path, format, roles, size_bytes, sha256, extraction, and source when --artifact-text is set. Empty values are left out, as in the Python projector (prune).
Logs
N/A
Additional context
The spec is incorrect: docs/design/specs/v2-artifacts.md §"Neo4j projection" declares :Artifact {id, path, format}. Fix the spec and the code together.
Activity