static-dev / spike-datocms

Spike plugin for easily consuming datocms data
Other
15 stars 8 forks source link

an after hook #9

Open kylemac opened 6 years ago

kylemac commented 6 years ago

in rare cases, you'll want to transform the whole collection of entries and not just each entry one-by-one. to support this we'd need some kind of global transform or after hook. i like to think of it as an after hook because that indicates it runs AFTER the individual object transform functions