forked from icarda-git/AReS
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lowercase formatter in harvester
This adds a new formatter to the harvesting fetch consumer to make all values lowercase. For example, by convention we want all of our AGROVOC subjects to be lower case, but we can't always update the repository metadata ourselves. This allows us to normalize values upon harvesting without having to create mappings.
- Loading branch information
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3816b9b
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.
Hey @moayadnajd, check out my awesome TypeScript. I added a lowercase formatter so we can normalize AGROVOC subjects on import. 😜