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

Setup GraphQL queries and mutations for applicants #8

Merged
merged 2 commits into from
Jun 13, 2021

Conversation

jeffreyzhang2001
Copy link
Contributor

@jeffreyzhang2001 jeffreyzhang2001 commented Jun 13, 2021

  • Adds GraphQL Queries + Mutations for Applicants (createApplicant mutation, applicants query)
  • Adds Date scalar to GraphQL Schema (e.g. dateOfBirth, certificationDate, etc.)
    This date scalar consumes an integer in milliseconds (Unix Time), represents it as a JavaScript Date object on the back-end, and serializes it as an integer in milliseconds (Unix Time)

TODO: Blocked on integrating with other tables (ApplicantStatus, Application, Guardian, MedicalInformation, Permit)

TODO: Integrate with other tables (ApplicantStatus, Application, Guardian, MedicalInformation, Permit)
@railway-app
Copy link

railway-app bot commented Jun 13, 2021

This PR is being deployed to Railway 🚅

Live → richmond-centre-for-disability-pr-8.up.railway.app

[View Deployment]

@jeffreyzhang2001 jeffreyzhang2001 requested a review from a team June 13, 2021 04:51
@OustanDing OustanDing added the needs dev review Needs dev review label Jun 13, 2021
lib/graphql/schema.graphql Outdated Show resolved Hide resolved
lib/graphql/types.ts Show resolved Hide resolved
prisma/index.ts Outdated Show resolved Hide resolved
@jeffreyzhang2001
Copy link
Contributor Author

Made the requested changes @OustanDing - were those all the comments you had?

Copy link
Member

@OustanDing OustanDing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffreyzhang2001 Yup those were all the changes. LGTM!

@jeffreyzhang2001 jeffreyzhang2001 merged commit 1276ef7 into staging Jun 13, 2021
@jeffreyzhang2001 jeffreyzhang2001 deleted the feature/graphQL-applicant-setup branch June 13, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs dev review Needs dev review
Projects
None yet
2 participants