patch/ts-prefix-neo4j-schema: prefix graph labels and relationship types with TS#7
Open
rahlk wants to merge 1 commit into
Open
patch/ts-prefix-neo4j-schema: prefix graph labels and relationship types with TS#7rahlk wants to merge 1 commit into
rahlk wants to merge 1 commit into
Conversation
A shared Neo4j may hold Applications projected from several languages. Prefix every node label with `TS` (Application -> TSApplication) and every relationship type with `TS_` (HAS_MODULE -> TS_HAS_MODULE) so downstream analytics can disambiguate by namespace. Catalog is the source of truth; project/cypher/bolt/schema and tests move in lockstep, guarded by the conformance test. schema.neo4j.json and the README are regenerated. SCHEMA_VERSION -> 2.0.0 (breaking rename).
4b34fad to
827ff89
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #8. Closes #9. Closes #10.
Namespaces this analyzer Neo4j contract so a shared database can attribute nodes and relationships to the producing language.
catalog.ts remains the single source of truth; the projection, both writers, the DDL, and the conformance test move in lockstep, with the conformance test enforcing no drift. typecheck and bun test pass; the Bolt container tests are skipped (no live Neo4j).