grafeo-ogm 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/README.md +102 -2
- package/assets/logo.jpg +0 -0
- package/dist/cjs/compilers/fulltext.compiler.d.ts.map +1 -1
- package/dist/cjs/compilers/fulltext.compiler.js +3 -3
- package/dist/cjs/compilers/fulltext.compiler.js.map +1 -1
- package/dist/cjs/compilers/mutation.compiler.d.ts +6 -12
- package/dist/cjs/compilers/mutation.compiler.d.ts.map +1 -1
- package/dist/cjs/compilers/mutation.compiler.js +126 -81
- package/dist/cjs/compilers/mutation.compiler.js.map +1 -1
- package/dist/cjs/compilers/select-normalizer.d.ts.map +1 -1
- package/dist/cjs/compilers/select-normalizer.js +5 -5
- package/dist/cjs/compilers/select-normalizer.js.map +1 -1
- package/dist/cjs/compilers/selection.compiler.d.ts +0 -12
- package/dist/cjs/compilers/selection.compiler.d.ts.map +1 -1
- package/dist/cjs/compilers/selection.compiler.js +26 -48
- package/dist/cjs/compilers/selection.compiler.js.map +1 -1
- package/dist/cjs/compilers/where.compiler.d.ts +1 -6
- package/dist/cjs/compilers/where.compiler.d.ts.map +1 -1
- package/dist/cjs/compilers/where.compiler.js +83 -139
- package/dist/cjs/compilers/where.compiler.js.map +1 -1
- package/dist/cjs/interface-model.d.ts +6 -11
- package/dist/cjs/interface-model.d.ts.map +1 -1
- package/dist/cjs/interface-model.js +2 -14
- package/dist/cjs/interface-model.js.map +1 -1
- package/dist/cjs/model.d.ts +9 -2
- package/dist/cjs/model.d.ts.map +1 -1
- package/dist/cjs/model.js +6 -6
- package/dist/cjs/model.js.map +1 -1
- package/dist/cjs/schema/utils.d.ts +45 -1
- package/dist/cjs/schema/utils.d.ts.map +1 -1
- package/dist/cjs/schema/utils.js +49 -0
- package/dist/cjs/schema/utils.js.map +1 -1
- package/dist/cjs/utils/validation.d.ts +13 -0
- package/dist/cjs/utils/validation.d.ts.map +1 -1
- package/dist/cjs/utils/validation.js +21 -0
- package/dist/cjs/utils/validation.js.map +1 -1
- package/dist/esm/compilers/fulltext.compiler.d.ts.map +1 -1
- package/dist/esm/compilers/fulltext.compiler.js +4 -4
- package/dist/esm/compilers/fulltext.compiler.js.map +1 -1
- package/dist/esm/compilers/mutation.compiler.d.ts +6 -12
- package/dist/esm/compilers/mutation.compiler.d.ts.map +1 -1
- package/dist/esm/compilers/mutation.compiler.js +128 -83
- package/dist/esm/compilers/mutation.compiler.js.map +1 -1
- package/dist/esm/compilers/select-normalizer.d.ts.map +1 -1
- package/dist/esm/compilers/select-normalizer.js +6 -6
- package/dist/esm/compilers/select-normalizer.js.map +1 -1
- package/dist/esm/compilers/selection.compiler.d.ts +0 -12
- package/dist/esm/compilers/selection.compiler.d.ts.map +1 -1
- package/dist/esm/compilers/selection.compiler.js +28 -50
- package/dist/esm/compilers/selection.compiler.js.map +1 -1
- package/dist/esm/compilers/where.compiler.d.ts +1 -6
- package/dist/esm/compilers/where.compiler.d.ts.map +1 -1
- package/dist/esm/compilers/where.compiler.js +85 -141
- package/dist/esm/compilers/where.compiler.js.map +1 -1
- package/dist/esm/interface-model.d.ts +6 -11
- package/dist/esm/interface-model.d.ts.map +1 -1
- package/dist/esm/interface-model.js +4 -16
- package/dist/esm/interface-model.js.map +1 -1
- package/dist/esm/model.d.ts +9 -2
- package/dist/esm/model.d.ts.map +1 -1
- package/dist/esm/model.js +7 -7
- package/dist/esm/model.js.map +1 -1
- package/dist/esm/schema/utils.d.ts +45 -1
- package/dist/esm/schema/utils.d.ts.map +1 -1
- package/dist/esm/schema/utils.js +48 -1
- package/dist/esm/schema/utils.js.map +1 -1
- package/dist/esm/utils/validation.d.ts +13 -0
- package/dist/esm/utils/validation.d.ts.map +1 -1
- package/dist/esm/utils/validation.js +19 -0
- package/dist/esm/utils/validation.js.map +1 -1
- package/package.json +47 -6
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.2.0 (2026-04-16)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **Connection edges `orderBy`** — `*Connection` selections now accept an `orderBy` clause with `node` and `edge` scopes. Sort edges by target-node scalars or `@relationshipProperties` scalars (or mix both with priority). Compiles to `apoc.coll.sortMulti` with synthetic sort keys stripped from the projection.
|
|
8
|
+
- **Automatic `__typename` for abstract targets** — `__typename` is now auto-emitted into the projection when the target is a union or interface. Eliminates a footgun where TypeScript type guards silently returned `false` because the discriminator was never projected. Explicit `__typename: true` is still supported and idempotent.
|
|
9
|
+
|
|
10
|
+
### Internal Refactors
|
|
11
|
+
|
|
12
|
+
- Extracted shared `buildRelPattern()` helper to `schema/utils.ts`, eliminating three near-identical implementations across the WHERE, SELECT, and MUTATION compilers. Supports `targetLabelRaw` for pre-escaped multi-label strings.
|
|
13
|
+
- Replaced the hardcoded operator switch in WHERE compiler with a declarative `OPERATOR_REGISTRY` map. Adding a new scalar operator is now a single line addition with `template` and `ciAware` fields.
|
|
14
|
+
- Split `ModelCompilers` into `QueryCompilers` + `MutationCompilers` (ISP fix). `InterfaceModelCompilers` is now an alias for `QueryCompilers`.
|
|
15
|
+
- Extracted `dispatchUnionUpdateOps()` from the long `buildUpdateRelationships` method.
|
|
16
|
+
- Added `mergeParams()` and `isPlainObject()` utilities; replaced 27 `Object.assign(params, ...)` call sites and unsafe `as Record<...>` casts.
|
|
17
|
+
|
|
18
|
+
### Removed
|
|
19
|
+
|
|
20
|
+
- `InterfaceModel.create()`, `InterfaceModel.update()`, `InterfaceModel.delete()` — these methods always threw an error and have been removed (LSP fix). Use `ogm.model('ConcreteType')` for mutations instead.
|
|
21
|
+
|
|
22
|
+
### Security
|
|
23
|
+
|
|
24
|
+
- WHERE filter errors no longer expose internal schema target type names. Generic messages reference the user-facing field name instead.
|
|
25
|
+
- Invalid union member keys in WHERE filters now throw with a descriptive error listing valid members, rather than silently skipping (prevents masking user typos).
|
|
26
|
+
|
|
27
|
+
## 1.0.0 (2026-03-14)
|
|
28
|
+
|
|
29
|
+
Initial open-source release.
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
- GraphQL SDL schema parsing with Neo4j directives (`@node`, `@relationship`, `@fulltext`, `@cypher`, `@id`, `@unique`, `@default`)
|
|
34
|
+
- Type-safe CRUD operations (`find`, `create`, `update`, `delete`, `count`, `aggregate`)
|
|
35
|
+
- Cypher query compilation (WHERE, SELECT, MUTATION, FULLTEXT compilers)
|
|
36
|
+
- Selection set support with nested relationship traversal
|
|
37
|
+
- Rich where filters: comparison, string, relationship existence, logical operators
|
|
38
|
+
- Fulltext search with scoring
|
|
39
|
+
- Nested mutations (create, connect, disconnect, delete related nodes)
|
|
40
|
+
- Transaction support (`$transaction`)
|
|
41
|
+
- Raw Cypher execution (`$queryRaw`, `$executeRaw`)
|
|
42
|
+
- Interface model support for polymorphic queries
|
|
43
|
+
- Union type support for relationships
|
|
44
|
+
- Multi-label node support
|
|
45
|
+
- TypeScript code generation from GraphQL schema (`generateTypes`)
|
|
46
|
+
- Configurable package name in generated imports
|
|
47
|
+
- Testing utilities (`CypherAssert`, `Neo4jRecordFactory`, `SelectionSetFactory`)
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./assets/logo.jpg" alt="grafeo-ogm — Type-safe OGM for Neo4j" width="640" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
<p align="center"><strong>A type-safe Object-Graph Mapper for Neo4j, driven by GraphQL SDL.</strong></p>
|
|
4
6
|
|
|
5
7
|
[](https://www.npmjs.com/package/grafeo-ogm)
|
|
6
8
|
[](LICENSE)
|
|
@@ -17,6 +19,7 @@ Define your graph model once in `.graphql` and get fully typed CRUD operations,
|
|
|
17
19
|
## Table of Contents
|
|
18
20
|
|
|
19
21
|
- [Why grafeo-ogm?](#why-grafeo-ogm)
|
|
22
|
+
- [Common Use Cases](#common-use-cases)
|
|
20
23
|
- [Quick Start](#quick-start)
|
|
21
24
|
- [Features Overview](#features-overview)
|
|
22
25
|
- [Schema Definition](#schema-definition)
|
|
@@ -27,6 +30,8 @@ Define your graph model once in `.graphql` and get fully typed CRUD operations,
|
|
|
27
30
|
- [Testing Utilities](#testing-utilities)
|
|
28
31
|
- [Security](#security)
|
|
29
32
|
- [Migration from @neo4j/graphql-ogm](#migration-from-neo4jgraphql-ogm)
|
|
33
|
+
- [Comparisons](#comparisons)
|
|
34
|
+
- [FAQ](#faq)
|
|
30
35
|
- [API Reference](#api-reference)
|
|
31
36
|
- [Contributing](#contributing)
|
|
32
37
|
- [License](#license)
|
|
@@ -77,6 +82,33 @@ Mutations with multiple connect/disconnect operations are wrapped in `CALL { ...
|
|
|
77
82
|
|
|
78
83
|
---
|
|
79
84
|
|
|
85
|
+
## Common Use Cases
|
|
86
|
+
|
|
87
|
+
grafeo-ogm fits any TypeScript application backed by Neo4j. Common patterns it solves cleanly:
|
|
88
|
+
|
|
89
|
+
**Knowledge graphs & semantic search**
|
|
90
|
+
Model entities, properties, and relationships in GraphQL SDL. Combine relationship traversal with `@fulltext` indexes for hybrid keyword + structural queries (e.g. "find all `Document` nodes mentioning *X* that are linked to active `Project` nodes owned by team *Y*").
|
|
91
|
+
|
|
92
|
+
**Social graphs & follower networks**
|
|
93
|
+
Multi-hop traversals with relationship properties (e.g. `since`, `weight`) become typed `*Connection` queries with sortable edges. No raw Cypher needed for "mutual followers", "friends of friends", or "shortest path between users".
|
|
94
|
+
|
|
95
|
+
**Recommendation engines**
|
|
96
|
+
Express collaborative filtering as relationship queries: "users who bought *X* also bought *Y*" becomes a typed `connect`/`*Connection` selection sorted by edge frequency or recency. Use `@cypher` directives for custom scoring algorithms in pure Cypher.
|
|
97
|
+
|
|
98
|
+
**Permission & policy graphs (RBAC / ReBAC)**
|
|
99
|
+
Model `User → ROLE → Permission` chains as native relationships. Filter queries with relationship existence (`Connection_SOME`) instead of joining tables. Multi-label nodes (`@node(labels: [...])`) handle hierarchical roles cleanly.
|
|
100
|
+
|
|
101
|
+
**Master data management & data lineage**
|
|
102
|
+
Track provenance, transformations, and dependencies between datasets. Interface types (`InterfaceModel`) let you query polymorphic entities (any `Asset`, any `Pipeline`) without losing type safety.
|
|
103
|
+
|
|
104
|
+
**Fraud detection & anti-money laundering**
|
|
105
|
+
Express patterns like "transaction chains > 3 hops between sanctioned accounts" using relationship quantifiers (`_SOME`, `_NONE`, `_ALL`). The mutation compiler's `CALL` subquery isolation prevents pipeline pollution when batching graph updates.
|
|
106
|
+
|
|
107
|
+
**Content management with rich relationships**
|
|
108
|
+
Articles, authors, tags, categories, and comments — all with edge metadata (timestamps, ordering, visibility). Connection edges with `orderBy: { edge: { ... } }` give you Prisma-style sortable joins on relationship properties.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
80
112
|
## Quick Start
|
|
81
113
|
|
|
82
114
|
### Installation
|
|
@@ -1084,6 +1116,74 @@ These are incremental improvements you can adopt at your own pace:
|
|
|
1084
1116
|
|
|
1085
1117
|
---
|
|
1086
1118
|
|
|
1119
|
+
## Comparisons
|
|
1120
|
+
|
|
1121
|
+
### grafeo-ogm vs. raw `neo4j-driver`
|
|
1122
|
+
|
|
1123
|
+
If you're writing Cypher strings by hand and concatenating user input, you have two problems: every query is unvalidated against your schema, and every query is a potential injection vector. grafeo-ogm gives you typed CRUD on top of the same driver — your existing `Driver` instance is what you pass to `new OGM(config)`. Raw Cypher is still available via `ogm.$queryRaw(...)` when you need it.
|
|
1124
|
+
|
|
1125
|
+
### grafeo-ogm vs. `@neo4j/graphql-ogm` (deprecated)
|
|
1126
|
+
|
|
1127
|
+
grafeo-ogm is a drop-in replacement: same constructor shape, same `model().find()` API, same selection set strings. The compiler under the hood is rewritten to use pattern comprehensions instead of `OPTIONAL MATCH` chains (eliminates Cartesian products), and the type generator is a modular emitter pipeline that doesn't need a live Neo4j driver at build time. See the [Migration section](#migration-from-neo4jgraphql-ogm) below.
|
|
1128
|
+
|
|
1129
|
+
### grafeo-ogm vs. Prisma (for graph users)
|
|
1130
|
+
|
|
1131
|
+
Prisma is the gold standard for relational ORMs but doesn't speak Cypher. grafeo-ogm gives you a **Prisma-like API for Neo4j** — `find`, `findFirst`, `findUnique`, `findFirstOrThrow`, `create`, `createMany`, `update`, `upsert`, `delete`, `deleteMany`, `count`, `aggregate` — with the same `where`, `select`, and ordering ergonomics. If you're moving from Postgres to Neo4j and miss Prisma, this is the closest equivalent.
|
|
1132
|
+
|
|
1133
|
+
### grafeo-ogm vs. Cypher query builders
|
|
1134
|
+
|
|
1135
|
+
Pure query builders (e.g. `cypher-query-builder`) help you compose Cypher fragments but don't model your schema, don't generate types, and don't validate identifiers against your data model. grafeo-ogm includes a query builder under the hood — but the public API is schema-aware, so you write `User.find({ where: { email_CONTAINS: 'foo' } })` instead of stringifying clauses by hand.
|
|
1136
|
+
|
|
1137
|
+
### grafeo-ogm vs. neogma
|
|
1138
|
+
|
|
1139
|
+
[neogma](https://github.com/themetalfleece/neogma) is an ODM-style library where you define models in JavaScript classes. grafeo-ogm is **schema-first**: you write your data model once in `.graphql`, and TypeScript types + runtime validation are generated from it. If you want to keep schema as the single source of truth shared with frontend GraphQL consumers, grafeo-ogm fits naturally.
|
|
1140
|
+
|
|
1141
|
+
---
|
|
1142
|
+
|
|
1143
|
+
## FAQ
|
|
1144
|
+
|
|
1145
|
+
### Is grafeo-ogm production-ready?
|
|
1146
|
+
|
|
1147
|
+
Yes. The library has 892 unit tests covering compilers, mutations, fulltext, transactions, security, scalar type mapping, and edge cases. It targets Neo4j 5.x and follows semver — see [CHANGELOG.md](CHANGELOG.md).
|
|
1148
|
+
|
|
1149
|
+
### Does grafeo-ogm work with Neo4j Aura?
|
|
1150
|
+
|
|
1151
|
+
Yes. grafeo-ogm uses the standard `neo4j-driver` package — anywhere the official driver works, grafeo-ogm works. Aura, self-hosted Neo4j 5.x, Docker images, embedded — all supported. The only optional dependency is the **APOC plugin**, used for nested `orderBy` (via `apoc.coll.sortMulti`) and subgraph operations (via `apoc.refactor.cloneSubgraph`).
|
|
1152
|
+
|
|
1153
|
+
### Do I need to know Cypher?
|
|
1154
|
+
|
|
1155
|
+
For most CRUD work, no. `find`, `create`, `update`, and the rest cover 95% of typical applications. For complex queries (custom scoring, multi-hop algorithms), use `@cypher` directives in your schema or `ogm.$queryRaw(...)` for ad-hoc Cypher. grafeo-ogm doesn't hide Cypher — it generates it transparently and you can log every query via `Executor.debug = true`.
|
|
1156
|
+
|
|
1157
|
+
### Can I use grafeo-ogm with a GraphQL server (Apollo, Yoga, etc.)?
|
|
1158
|
+
|
|
1159
|
+
Yes — grafeo-ogm is GraphQL-SDL-driven, so the same `typeDefs` you pass to `new OGM(config)` can be used as your GraphQL schema. Resolvers call `ogm.model(...)` methods. There is no built-in resolver auto-generation (unlike `@neo4j/graphql`) — you write your own resolvers and call into the OGM, giving you full control over auth, validation, and business logic.
|
|
1160
|
+
|
|
1161
|
+
### How is grafeo-ogm different from `@neo4j/graphql`?
|
|
1162
|
+
|
|
1163
|
+
`@neo4j/graphql` is a full **server framework** that auto-generates resolvers and exposes a GraphQL endpoint. grafeo-ogm is a **library** — you import it into any TypeScript app (Express, Fastify, Hono, NestJS, Next.js API routes, scripts, workers) and call typed methods. No HTTP layer, no auto-resolvers. If you want full control over your stack, choose grafeo-ogm. If you want a batteries-included GraphQL server, choose `@neo4j/graphql`.
|
|
1164
|
+
|
|
1165
|
+
### Does it support transactions?
|
|
1166
|
+
|
|
1167
|
+
Yes — `ogm.$transaction(async (ctx) => { ... })` runs multiple operations atomically. Pass the `ctx` object to any model method via `{ context: ctx }` to opt into the active transaction. See [Advanced Features → Transactions](#transactions).
|
|
1168
|
+
|
|
1169
|
+
### Does it support multi-database / multi-tenant Neo4j setups?
|
|
1170
|
+
|
|
1171
|
+
Yes — pass a `database` option per query via the `ExecutionContext`, or instantiate one OGM per database. Multi-label nodes (`@node(labels: [...])`) handle a different multi-tenant pattern where tenants share a graph but have isolated label sets.
|
|
1172
|
+
|
|
1173
|
+
### What's the performance overhead vs. raw Cypher?
|
|
1174
|
+
|
|
1175
|
+
Negligible. grafeo-ogm compiles each query once per shape (selection sets are cached), then sends a parameterized Cypher string + params to the driver. There is no runtime ORM hydration layer in the hot path — results come back from `neo4j-driver`, are converted from Neo4j types (Integer, DateTime, Point), and are returned as plain JS objects. For benchmark-sensitive workloads, the generated Cypher avoids `OPTIONAL MATCH` Cartesian products that the deprecated `@neo4j/graphql-ogm` produced, so it's typically *faster* than the official OGM in real-world queries.
|
|
1176
|
+
|
|
1177
|
+
### Is there a CLI / migration tool / studio?
|
|
1178
|
+
|
|
1179
|
+
Not yet. The library focuses on the runtime API and type generation. Schema migrations are intentionally out of scope — Neo4j's labels and properties are flexible enough that you typically migrate via Cypher scripts (`MATCH (n:OldLabel) SET n:NewLabel REMOVE n:OldLabel`) which you can run via `ogm.$executeRaw(...)`.
|
|
1180
|
+
|
|
1181
|
+
### How do I report a bug or request a feature?
|
|
1182
|
+
|
|
1183
|
+
Open an issue on [GitHub](https://github.com/neomodular/grafeo-ogm/issues). For security issues, see [SECURITY.md](SECURITY.md).
|
|
1184
|
+
|
|
1185
|
+
---
|
|
1186
|
+
|
|
1087
1187
|
## API Reference
|
|
1088
1188
|
|
|
1089
1189
|
### OGM
|
package/assets/logo.jpg
ADDED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fulltext.compiler.d.ts","sourceRoot":"","sources":["../../../src/compilers/fulltext.compiler.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,aAAa,EAEd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"fulltext.compiler.d.ts","sourceRoot":"","sources":["../../../src/compilers/fulltext.compiler.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,aAAa,EAEd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAUhF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;GAUG;AACH,qBAAa,gBAAgB;IACf,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,cAAc;IAE1C;;;OAGG;IACH,OAAO,CACL,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE,cAAc,EACvB,OAAO,SAAM,GACZ,cAAc;IAqBjB;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAC5D,QAAQ,EAAE,aAAa,EACvB,MAAM,SAAM,GACX,cAAc;IA4CjB,OAAO,CAAC,WAAW;IA4CnB;;;;OAIG;IACH,OAAO,CAAC,WAAW;IAgCnB,+EAA+E;IAC/E,OAAO,CAAC,gBAAgB;IAqCxB;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;IAmEhC;;OAEG;IACH,OAAO,CAAC,SAAS;IAiDjB;;;OAGG;IACH,OAAO,CAAC,UAAU;IA8DlB;;;OAGG;IACH,OAAO,CAAC,UAAU;CA2BnB"}
|
|
@@ -186,7 +186,7 @@ class FulltextCompiler {
|
|
|
186
186
|
const unionBranches = [];
|
|
187
187
|
for (const branch of branches) {
|
|
188
188
|
const result = this.compileNode(branch, nodeDef, nodeVar, paramCounter, depth);
|
|
189
|
-
|
|
189
|
+
(0, validation_1.mergeParams)(allParams, result.params);
|
|
190
190
|
unionBranches.push([
|
|
191
191
|
` ${result.cypher.split('\n').join('\n ')}`,
|
|
192
192
|
` RETURN ${nodeVar}, score`,
|
|
@@ -213,12 +213,12 @@ class FulltextCompiler {
|
|
|
213
213
|
const cypherParts = [];
|
|
214
214
|
// First branch: yields nodes normally
|
|
215
215
|
const first = this.compileNode(branches[0], nodeDef, nodeVar, paramCounter, depth);
|
|
216
|
-
|
|
216
|
+
(0, validation_1.mergeParams)(allParams, first.params);
|
|
217
217
|
cypherParts.push(first.cypher);
|
|
218
218
|
// Subsequent branches: correlated subqueries that filter to matching nodes
|
|
219
219
|
for (let i = 1; i < branches.length; i++) {
|
|
220
220
|
const branch = this.compileNode(branches[i], nodeDef, 'm', paramCounter, depth);
|
|
221
|
-
|
|
221
|
+
(0, validation_1.mergeParams)(allParams, branch.params);
|
|
222
222
|
cypherParts.push([
|
|
223
223
|
`CALL {`,
|
|
224
224
|
` WITH ${nodeVar}`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fulltext.compiler.js","sourceRoot":"","sources":["../../../src/compilers/fulltext.compiler.ts"],"names":[],"mappings":";;;AAAA,sCAAqC;AACrC,oCAKkB;AAElB,
|
|
1
|
+
{"version":3,"file":"fulltext.compiler.js","sourceRoot":"","sources":["../../../src/compilers/fulltext.compiler.ts"],"names":[],"mappings":";;;AAAA,sCAAqC;AACrC,oCAKkB;AAElB,oDAI6B;AAE7B,oEAAoE;AACpE,MAAM,SAAS,GAAG,EAAE,CAAC;AAQrB;;;;;;;;;;GAUG;AACH,MAAa,gBAAgB;IAC3B,YAAoB,MAAsB;QAAtB,WAAM,GAAN,MAAM,CAAgB;IAAG,CAAC;IAE9C;;;OAGG;IACH,OAAO,CACL,QAAuB,EACvB,OAAuB,EACvB,OAAO,GAAG,GAAG;QAEb,IAAA,iCAAoB,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC;QAC/C,MAAM,YAAY,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QAClC,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,OA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ClD,sBAAsB,OAAO,EAAE;YAC/B,GAAG;YACH,QAAQ,OAAO,cAAc;SAC9B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEb,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACvC,CAAC;CACF;AA1aD,4CA0aC"}
|
|
@@ -63,6 +63,12 @@ export declare class MutationCompiler {
|
|
|
63
63
|
private buildCreateRelationshipsForTarget;
|
|
64
64
|
private buildConnects;
|
|
65
65
|
private buildDisconnects;
|
|
66
|
+
/**
|
|
67
|
+
* Dispatch update operations for a union-typed relationship.
|
|
68
|
+
* Each member key in the input is recursed into buildUpdateRelationships
|
|
69
|
+
* with a narrowed relDef pointing at the concrete member type.
|
|
70
|
+
*/
|
|
71
|
+
private dispatchUnionUpdateOps;
|
|
66
72
|
/**
|
|
67
73
|
* Process nested relationship operations within an update input.
|
|
68
74
|
* Handles: create, connect, disconnect, update, and arrays of these.
|
|
@@ -102,19 +108,7 @@ export declare class MutationCompiler {
|
|
|
102
108
|
* Returns the Cypher expression string or null if the key is not a relationship filter.
|
|
103
109
|
*/
|
|
104
110
|
private tryBuildRelationshipFilter;
|
|
105
|
-
/**
|
|
106
|
-
* Build a Cypher relationship pattern string.
|
|
107
|
-
*
|
|
108
|
-
* @param sourceVar - Cypher variable for the source node
|
|
109
|
-
* @param relDef - Relationship definition
|
|
110
|
-
* @param targetVar - Cypher variable for the target node (empty string for anonymous)
|
|
111
|
-
* @param relVar - Optional relationship variable (omit for anonymous `[:TYPE]`)
|
|
112
|
-
* @param targetLabel - Target label override. Pass explicit label, `'auto'` to use
|
|
113
|
-
* `relDef.target`, or omit for no label on the target node.
|
|
114
|
-
*/
|
|
115
|
-
private buildRelPattern;
|
|
116
111
|
private buildGeneratedIdClause;
|
|
117
|
-
private getCascadeVarName;
|
|
118
112
|
/**
|
|
119
113
|
* Check if any item in an array connect spec has relationship filters in its WHERE clause.
|
|
120
114
|
* Relationship filters require EXISTS subqueries which can't use UNWIND param references.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation.compiler.d.ts","sourceRoot":"","sources":["../../../src/compilers/mutation.compiler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EAEd,cAAc,EACf,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"mutation.compiler.d.ts","sourceRoot":"","sources":["../../../src/compilers/mutation.compiler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EAEd,cAAc,EACf,MAAM,iBAAiB,CAAC;AAoBzB,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,qBAAa,gBAAgB;IAOf,OAAO,CAAC,MAAM;IAN1B;;;OAGG;IACH,OAAO,CAAC,UAAU,CAA6B;gBAE3B,MAAM,EAAE,cAAc;IAE1C,8EAA8E;IAC9E,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,oBAAoB;IAQ5B;;;OAGG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACjC,OAAO,EAAE,cAAc,EACvB,MAAM,CAAC,EAAE,MAAM,EAAE,GAChB,cAAc;IAkDjB;;OAEG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAC3C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAC5C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAC/C,OAAO,EAAE,cAAc,EACvB,WAAW,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KA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