You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I would like to enforce the uniqueness of certain fields, which I was able to do using neoj4-graphql-js. Describe the solution you'd like
A clear and concise description of what you want to happen. @unique directive should give the nodes property a unique constraint Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Otherwise, I have to rely on developers not writing bugging code
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
I'm using apoc.schema.assert right after the connection has been verified (driver.verifyConnectivity()).
e.g.: CALL apoc.schema.assert(null,{Product:['id']}) to prevent duplicate product IDs.
This works quiete well and gets executed every time I redeploy/restart the ApolloServer.
Would @Unique work in a similar way? Does this approach conflict with your internal index management or future @Unique implementation?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I would like to enforce the uniqueness of certain fields, which I was able to do using neoj4-graphql-js.
Describe the solution you'd like
A clear and concise description of what you want to happen.
@unique directive should give the nodes property a unique constraint
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Otherwise, I have to rely on developers not writing bugging code
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: