ContactTracing-app / Graphql-api

GraphQL API layer on top of neo4j for Contact Tracing: notifying friends & family against COVID-19
https://contacttracing.app/
ISC License
5 stars 5 forks source link

Duplicate :KNOWS relationships #12

Closed mmmoli closed 4 years ago

mmmoli commented 4 years ago

:KNOWS there should be max 1 :KNOWS between nodes.

The current code is letting multiple :KNOWS get generated.

Screenshot 2020-03-28 at 14 06 54
mmmoli commented 4 years ago

@kavyvetri any ideas why this is happening?

it's the CreateKnows mutation in the schema.