neode
neode copied to clipboard
Neo4j OGM for Node.js
I noticed that there doesn't seem to be any support for writing with transactions. Is that correct? @adam-cowley
when i hydrate result of` collect(artist)` the output is > "Error: No model definition found or labels undefined" after enforcing a definition or a model which is "`Artist`" and trying...
Is there a way to induce Joi to generate an error if fields beyond those specifically described in the model are included as part of the input?
I'm trying out some of the sample code inside a docker container (not sure if this is related to the issue, neo4j is also running in a docker container BTW)...
I have the model Event: ``` instance = require('neode') .fromEnv() .with({ Event: event, User: user }); const event = { type: 'string', category: 'string', trackerId: 'string', eventId: 'number', data: 'string',...
Hi, I just wanted to drop in here and see if I could get some cooperation to update the documentation a bit. I understand the validation is done using Joi,...
https://github.com/adam-cowley/neode/blob/8bc691a76f6661e2b8d4bad0dc9e6a0989a43ac9/types/index.d.ts#L84 should actually be `create(model: string, properties: object): Promise;`
when using this method it is not working as defined in TS. But when I use async-await everything is fine and the return value from `Neode.create(...)` is present. To work...
I'm setting my schema as typed in the Schema Object type definition: ```typescript const UserSchema = { name: { type: 'string', indexed: true, required: true }, email: { type: 'string',...
Currently I guess is not possible to use an array as a type for a model property, right? Would be nice to have something like that: ``` instance.model('Person', { person_id:...