Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Risk in the api #9

Open
mmmoli opened this issue Mar 27, 2020 · 7 comments
Open

Risk in the api #9

mmmoli opened this issue Mar 27, 2020 · 7 comments

Comments

@mmmoli
Copy link
Member

mmmoli commented Mar 27, 2020

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
Copy link

lisabang commented Mar 27, 2020

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

@mmmoli
Copy link
Member Author

mmmoli commented Mar 30, 2020

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

@mmmoli
Copy link
Member Author

mmmoli commented Apr 3, 2020

I'm gonna remove @lisabang while we regroup…

@mmmoli
Copy link
Member Author

mmmoli commented Apr 6, 2020

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

@allcontributors
Copy link
Contributor

@mmmoli

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

@mmmoli
Copy link
Member Author

mmmoli commented Apr 6, 2020

@all-contributors please add @kavyvetri for code

@allcontributors
Copy link
Contributor

@mmmoli

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants