-
Notifications
You must be signed in to change notification settings - Fork 73
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
Ocrvs 6909 #8084
Ocrvs 6909 #8084
Conversation
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
2368f01
to
eabcfb2
Compare
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.
Let's make this a bit more generic as we know that custom events are coming. So the payload for the event could be something like this:
type EventPayload = {
event: string
jurisdictionId?: string
}
type IAdvancedSearchParam = {
event: EventPayload[]
...
}
Notice how the jurisdictionId
is optional here. So if a user has birth:search:my-jurisdiction, death:search
scope, gateway will send something like
[
{ event: 'birth', jurisdictionId: '1234-4567' },
{ event: 'death' }
]
Then we can just map this array to the shouldMatchCondition
No description provided.