Add isExhibition to EventDocument display object
#347
Merged
+1,176
−218
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this change?
#247
type === 'exhibitions'was repeated a ton so I used the same var for it all too.I think I could run a reindex without the need for a new pipeline since the display object isn't mapped but shout if you think it's needed
How to test
cd pipelineMedicine Man: should have
isExhibition: truein the display object.yarn testTransformer --type=event --id=Weoe4SQAAKJwjcDC --isDetailedHIV and AIDS event: should have
isExhibition: falsein the display object.yarn testTransformer --type=event --isDetailedHow can we measure success?
We can identify if it's an Exhibition and therefore we can make sure the link is correct.
Have we considered potential risks?
N/A ?