ArboreumDev / credit-union-frontend

Frontend in Next.js + Typescript + GraphQL
https://frontend-two-sandy.vercel.app
1 stars 0 forks source link

Gp/scenario record #148

Closed gparuthi closed 3 years ago

gparuthi commented 3 years ago

Keeping in mind the purpose of scenarios:

  1. Keep a trail of actions performed so we can recreate incidents.
  2. Write multi-user, multi-action scenario for testing purposes. The goal of it would be to do more than what a unit-test can do.

I am simplifying the scenario json files to only whats necessary.

gparuthi commented 3 years ago
  • we need to fill the action_type-table with some values, (why not create enums as we are doing it with the other types, e.g. loan_request_status?)

Following the hasura's recommended way https://hasura.io/docs/1.0/graphql/core/schema/enums.html It gives us codegen for enums as well :)