Previously we had placeholder email addresses in our database that we did not want to display in our SearchResultDetails component. This PR updates the GraphQL schema to to make facility email addresses nullable.
Part of #436
What changed
Remove non-nullable operator ! from GraphQL Contact type and ContactInput.
Testing instructions
Run npm run dev, navigate to http://127.0.0.1:4000/, and run the following mutation:
Operation
Previously we had placeholder email addresses in our database that we did not want to display in our
SearchResultDetails
component. This PR updates the GraphQL schema to to make facility email addresses nullable.Part of #436
What changed
Remove non-nullable operator
!
from GraphQLContact
type andContactInput
.Testing instructions
Run
npm run dev
, navigate tohttp://127.0.0.1:4000/
, and run the following mutation: OperationVariables
The response should include the field
"email": null
.