openactive-contrib / harvester

Harvester for slurping OA feed data, written in Node.js
MIT License
0 stars 1 forks source link

Refactor to reduce duplication in the parseEvent method #46

Open thill-odi opened 4 years ago

thill-odi commented 4 years ago

At the moment, significant code within the parseEvent method (see e.g normalise-event-pipe.js is duplicated across all top-level Pipes. This should be refactored into a helper function or shared library.