Nitro-Backend icon indicating copy to clipboard operation
Nitro-Backend copied to clipboard

Add a unique contraint for all node IDs

Open Tirokk opened this issue 5 years ago • 2 comments

Tirokk avatar Mar 14 '19 16:03 Tirokk

@Tirokk cool, but could you provide some tests?

roschaefer avatar Mar 14 '19 19:03 roschaefer

Which framework @appinteractive and where?

You are right, it’s just the UUID creation in neo4j-graphql-js:

If an ID typed field is specified in the type defintion, but not provided when the create mutation is executed then a random UUID will be generated and stored in the database.

appinteractive avatar Mar 14 '19 21:03 appinteractive