-
Notifications
You must be signed in to change notification settings - Fork 92
feat(message-queue): allow confirming and rejecting record externally #7674
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
Conversation
|
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
it would be the correct REST action for the state changes: chose convention for now
|
Your environment is deployed to https://ocrvs-6208-reject-registration.opencrvs.dev. |
bd84e0e to
c2db318
Compare
2334c1d to
124ec78
Compare
124ec78 to
cac78c3
Compare
d6ef435 to
edb08fb
Compare
| } else if (isNamedType(fieldType)) { | ||
| fieldStr += `${fieldName} ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rikukissa this was missing enums, that's why the packages/gateway/src/features/registration/__snapshots__/type-resolvers.test.ts.snap test had to be updated
| enum RejectionReason { | ||
| OTHER | ||
| } | ||
|
|
||
| input RejectRegistrationInput { | ||
| reason: RejectionReason! # Rejection type | ||
| comment: String! # Free text comment for audit log | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure yet what type of rejection types could we start amending here.. Essentially this is the same as markEventAsVoided but with a stricter typing
| # TODO | ||
| # https://github.com/prismagraphql/graphql-import/issues/180 | ||
| # https://github.com/prismagraphql/graphql-import/issues/45 | ||
| type Dummy { | ||
| dummy: String! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These issues were solved in a version we already have
|
@rikukissa Re-requesting a review; note that client & workflow has broken tests. I can amend the main PR to-do |
…into ocrvs-6208-reject-registration
db05c3e to
1d9a688
Compare
Country-config: opencrvs/opencrvs-countryconfig#288
Creates two new GraphQL endpoints:
This will also enable integrations such as MOSIP 'hijacking' the confirm path and only doing it when they are ready.