angrykoala

Results 87 issues of angrykoala

Currently, the internal parameter `previous` is exposed in the `Pattern` constructor. This class should probably be inherited into a new Pattern exposed to the user without this extra parameter ```...

breaking

Relevant docs: * https://neo4j.com/docs/cypher-manual/current/patterns/concepts/#quantified-path-patterns * https://neo4j.com/docs/cypher-manual/current/patterns/reference/#quantified-path-patterns

There is no way of generating the following Cypher code with the CypherBuilder, as the index operator is only available on variables `Cypher.collect(var)[0]`

Currently, the `.build` method accept 3 optional parameters, leading to not ideal code for setting these options such as ```js const queryResult = new TestClause(query).build( undefined, {}, { labelOperator: "&",...

breaking

Currently, literals are not escaped, which may cause a code injection. Note that it is recommended to always use `Cypher.Param` for every user input

breaking

Currently, `Cypher.and` and `Cypher.or` typings may lie, as an array of predicates may result in undefined. For example: ```ts const predicates: Cypher.Predicate[] = []; const andPredicate = Cypher.and(...predicates); // andPredicate...

breaking