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

Risk in the api #9

Open mmmoli opened 4 years ago

mmmoli commented 4 years ago

We want to return the risk lever for a User. This requires a new Query in graphql schema. From Cypher, we need to return a string matching a new enum type.

SAFE - all of my contacts are healthStatus.TOTALLY_FINE LOW - any of my Indirect contacts healthStatus.IN_QUARATINE MEDIUM - any of my contacts healthStatus.IN_QUARATINE HIGH - Direct contacts healthStatus.TESTED_POSITIVE

exact strings may vary so check the schema file.

lisabang commented 4 years ago

@mmmoli makes sense to me. feel free to assign to me and whoever else you think might be able to help

mmmoli commented 4 years ago

@kavyvetri Are you happy to pick this up with @lisabang ?

mmmoli commented 4 years ago

I'm gonna remove @lisabang while we regroup…

mmmoli commented 4 years ago

@all-contributors please add @lisabang and @kavyvetri to code

allcontributors[bot] commented 4 years ago

@mmmoli

I've put up a pull request to add @lisabang! :tada:

mmmoli commented 4 years ago

@all-contributors please add @kavyvetri for code

allcontributors[bot] commented 4 years ago

@mmmoli

I've put up a pull request to add @kavyvetri! :tada: